Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for tutorial002_pv1 (0.22 sec)

  1. docs/de/docs/advanced/path-operation-advanced-configuration.md

    {!> ../../docs_src/path_operation_advanced_configuration/tutorial007.py!}
    ```
    
    ////
    
    //// tab | Pydantic v1
    
    ```Python hl_lines="17-22  24"
    {!> ../../docs_src/path_operation_advanced_configuration/tutorial007_pv1.py!}
    ```
    
    ////
    
    /// info
    
    In Pydantic Version 1 hieß die Methode zum Abrufen des JSON-Schemas für ein Modell `Item.schema()`, in Pydantic Version 2 heißt die Methode `Item.model_json_schema()`.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/path-operation-advanced-configuration.md

    {!> ../../docs_src/path_operation_advanced_configuration/tutorial007.py!}
    ```
    
    ////
    
    //// tab | Pydantic v1
    
    ```Python hl_lines="17-22  24"
    {!> ../../docs_src/path_operation_advanced_configuration/tutorial007_pv1.py!}
    ```
    
    ////
    
    /// info
    
    In Pydantic version 1 the method to get the JSON Schema for a model was called `Item.schema()`, in Pydantic version 2, the method is called `Item.model_json_schema()`.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. pyproject.toml

    "docs_src/custom_response/tutorial007.py" = ["B007"]
    "docs_src/dataclasses/tutorial003.py" = ["I001"]
    "docs_src/path_operation_advanced_configuration/tutorial007.py" = ["B904"]
    "docs_src/path_operation_advanced_configuration/tutorial007_pv1.py" = ["B904"]
    "docs_src/custom_request_and_route/tutorial002.py" = ["B904"]
    "docs_src/dependencies/tutorial008_an.py" = ["F821"]
    "docs_src/dependencies/tutorial008_an_py39.py" = ["F821"]
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 14:19:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/schema-extra-example.md

    ```Python hl_lines="15-26"
    {!> ../../docs_src/schema_extra_example/tutorial001.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ Pydantic v1
    
    ```Python hl_lines="15-25"
    {!> ../../docs_src/schema_extra_example/tutorial001_pv1.py!}
    ```
    
    ////
    
    That extra info will be added as-is to the output **JSON Schema** for that model, and it will be used in the API docs.
    
    //// tab | Pydantic v2
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/settings.md

    /// info
    
    In Pydantic v1 würden Sie `BaseSettings` direkt von `pydantic` statt von `pydantic_settings` importieren.
    
    ///
    
    ```Python hl_lines="2  5-8  11"
    {!> ../../docs_src/settings/tutorial001_pv1.py!}
    ```
    
    ////
    
    /// tip | "Tipp"
    
    Für ein schnelles Copy-and-paste verwenden Sie nicht dieses Beispiel, sondern das letzte unten.
    
    ///
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/settings.md

    //// tab | Pydantic v1
    
    /// info
    
    In Pydantic v1 you would import `BaseSettings` directly from `pydantic` instead of from `pydantic_settings`.
    
    ///
    
    ```Python hl_lines="2  5-8  11"
    {!> ../../docs_src/settings/tutorial001_pv1.py!}
    ```
    
    ////
    
    /// tip
    
    If you want something quick to copy and paste, don't use this example, use the last one below.
    
    ///
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/schema-extra-example.md

    ```Python hl_lines="15-26"
    {!> ../../docs_src/schema_extra_example/tutorial001.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ Pydantic v1
    
    ```Python hl_lines="15-25"
    {!> ../../docs_src/schema_extra_example/tutorial001_pv1.py!}
    ```
    
    ////
    
    Diese zusätzlichen Informationen werden unverändert zum für dieses Modell ausgegebenen **JSON-Schema** hinzugefügt und in der API-Dokumentation verwendet.
    
    //// tab | Pydantic v2
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/settings.md

    /// info
    
    Na versão 1 do Pydantic você importaria `BaseSettings` diretamente do módulo `pydantic` em vez do módulo `pydantic_settings`.
    
    ///
    
    ```Python hl_lines="2  5-8  11"
    {!> ../../docs_src/settings/tutorial001_pv1.py!}
    ```
    
    ////
    
    /// dica
    
    Se você quiser algo pronto para copiar e colar na sua aplicação, não use esse exemplo, mas sim o exemplo abaixo.
    
    ///
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/schema-extra-example.md

    ```Python hl_lines="15-26"
    {!> ../../docs_src/schema_extra_example/tutorial001.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ Pydantic v1
    
    ```Python hl_lines="15-25"
    {!> ../../docs_src/schema_extra_example/tutorial001_pv1.py!}
    ```
    
    ////
    
    추가 정보는 있는 그대로 해당 모델의 **JSON 스키마** 결과에 추가되고, API 문서에서 사용합니다.
    
    //// tab | Pydantic v2
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top