Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 24 (0.11 sec)

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

    여러분의 앱이 받을 수 있는 데이터 예제를 선언할 수 있습니다.
    
    여기 이를 위한 몇가지 방식이 있습니다.
    
    ## Pydantic 모델 속 추가 JSON 스키마 데이터
    
    생성된 JSON 스키마에 추가될 Pydantic 모델을 위한 `examples`을 선언할 수 있습니다.
    
    === "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: Fri Feb 09 12:35:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/schema-extra-example.md

        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="23-49"
        {!> ../../../docs_src/schema_extra_example/tutorial004_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="24-50"
        {!> ../../../docs_src/schema_extra_example/tutorial004_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip Заметка
            Рекомендуется использовать версию с `Annotated`, если это возможно.
    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)
  3. 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)
  4. 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)
Back to top