Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for 24 (0.24 sec)

  1. docs/de/docs/tutorial/schema-extra-example.md

    Sie können `examples` („Beispiele“) für ein Pydantic-Modell deklarieren, welche dem generierten JSON-Schema hinzugefügt werden.
    
    === "Python 3.10+ Pydantic v2"
    
        ```Python hl_lines="13-24"
        {!> ../../../docs_src/schema_extra_example/tutorial001_py310.py!}
        ```
    
    === "Python 3.10+ Pydantic v1"
    
        ```Python hl_lines="13-23"
        {!> ../../../docs_src/schema_extra_example/tutorial001_py310_pv1.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:19:53 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/schema-extra-example.md

    ## Extra JSON Schema data in Pydantic models
    
    You can declare `examples` for a Pydantic model that will be added to the generated JSON Schema.
    
    === "Python 3.10+ Pydantic v2"
    
        ```Python hl_lines="13-24"
        {!> ../../../docs_src/schema_extra_example/tutorial001_py310.py!}
        ```
    
    === "Python 3.10+ Pydantic v1"
    
        ```Python hl_lines="13-23"
        {!> ../../../docs_src/schema_extra_example/tutorial001_py310_pv1.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/extending-openapi.md

    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Modify the OpenAPI schema
    
    Now you can add the ReDoc extension, adding a custom `x-logo` to the `info` "object" in the OpenAPI schema:
    
    ```Python hl_lines="22-24"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Cache the OpenAPI schema
    
    You can use the property `.openapi_schema` as a "cache", to store your generated schema.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/response-model.md

    대신 평문 비밀번호로 입력 모델을 만들고 해당 비밀번호 없이 출력 모델을 만들 수 있습니다:
    
    ```Python hl_lines="9  11  16"
    {!../../../docs_src/response_model/tutorial003.py!}
    ```
    
    여기서 *경로 작동 함수*가 비밀번호를 포함하는 동일한 입력 사용자를 반환할지라도:
    
    ```Python hl_lines="24"
    {!../../../docs_src/response_model/tutorial003.py!}
    ```
    
    ...`response_model`을 `UserOut` 모델로 선언했기 때문에 비밀번호를 포함하지 않습니다:
    
    ```Python hl_lines="22"
    {!../../../docs_src/response_model/tutorial003.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/sub-dependencies.md

        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="23"
        {!> ../../../docs_src/dependencies/tutorial005_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="24"
        {!> ../../../docs_src/dependencies/tutorial005_an.py!}
        ```
    
    === "Python 3.10 non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="19"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/testing-dependencies.md

        {!> ../../../docs_src/dependency_testing/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="24-25  28"
        {!> ../../../docs_src/dependency_testing/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:32 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/testing-dependencies.md

        {!> ../../../docs_src/dependency_testing/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="24-25  28"
        {!> ../../../docs_src/dependency_testing/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/sql-databases.md

    🔜 ✍ 🌐 🏷 (🎓) 🔢.
    
    🔠 👫 🔢 🎨 🏓 🚮 🔗 💽 🏓.
    
    👥 ⚙️ `Column` ⚪️➡️ 🇸🇲 🔢 💲.
    
    & 👥 🚶‍♀️ 🇸🇲 🎓 "🆎", `Integer`, `String`, & `Boolean`, 👈 🔬 🆎 💽, ❌.
    
    ```Python hl_lines="1  10-13  21-24"
    {!../../../docs_src/sql_databases/sql_app/models.py!}
    ```
    
    ### ✍ 💛
    
    🔜 ✍ 💛.
    
    👉, 👥 ⚙️ `relationship` 🚚 🇸🇲 🐜.
    
    👉 🔜 ▶️️, 🌅 ⚖️ 🌘, "🎱" 🔢 👈 🔜 🔌 💲 ⚪️➡️ 🎏 🏓 🔗 👉 1️⃣.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 25.2K bytes
    - Viewed (1)
  9. docs/ru/docs/tutorial/extra-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="7  13-14  17-18  21-22"
        {!> ../../../docs_src/extra_models/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9  15-16  19-20  23-24"
        {!> ../../../docs_src/extra_models/tutorial002.py!}
        ```
    
    ## `Union` или `anyOf`
    
    Вы можете определить ответ как `Union` из двух типов. Это означает, что ответ должен соответствовать одному из них.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/extra-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="7  13-14  17-18  21-22"
        {!> ../../../docs_src/extra_models/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9  15-16  19-20  23-24"
        {!> ../../../docs_src/extra_models/tutorial002.py!}
        ```
    
    ## `Union` or `anyOf`
    
    You can declare a response to be the `Union` of two types, that means, that the response would be any of the two.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
Back to top