Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 310 for tutorial009c_py310 (0.06 sec)

  1. docs/ko/docs/tutorial/extra-models.md

    ///
    
    ## 다중 모델
    
    아래는 비밀번호 필드와 해당 필드가 사용되는 위치를 포함하여, 각 모델들이 어떤 형태를 가질 수 있는지 전반적인 예시입니다:
    
    {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}
    
    
    /// info | 정보
    
    Pydantic v1에서는 해당 메서드가 `.dict()`로 불렸으며, Pydantic v2에서는 `.model_dump()`로 이름이 변경되었습니다. `.dict()`는 여전히 지원되지만 더 이상 권장되지 않습니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 30 13:38:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/schema-extra-example.md

    {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:21] *}
    
    这些额外的信息将按原样添加到输出的JSON模式中。
    
    ## `Field` 的附加参数
    
    在 `Field`, `Path`, `Query`, `Body` 和其他你之后将会看到的工厂函数,你可以为JSON 模式声明额外信息,你也可以通过给工厂函数传递其他的任意参数来给JSON 模式声明额外信息,比如增加 `example`:
    
    {* ../../docs_src/schema_extra_example/tutorial002_py310.py hl[2,8:11] *}
    
    /// warning
    
    请记住,传递的那些额外参数不会添加任何验证,只会添加注释,用于文档的目的。
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. docs/de/docs/how-to/separate-openapi-schemas.md

    Nehmen wir an, Sie haben ein Pydantic-Modell mit Defaultwerten wie dieses:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:7] hl[7] *}
    
    ### Modell für Eingabe { #model-for-input }
    
    Wenn Sie dieses Modell wie hier als Eingabe verwenden:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *}
    
    ... dann ist das Feld `description` **nicht erforderlich**. Weil es den Defaultwert `None` hat.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/extra-models.md

    ///
    
    ## Múltiples modelos { #multiple-models }
    
    Aquí tienes una idea general de cómo podrían ser los modelos con sus campos de contraseña y los lugares donde se utilizan:
    
    {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}
    
    /// info | Información
    
    En Pydantic v1 el método se llamaba `.dict()`, fue deprecado (pero aún soportado) en Pydantic v2, y renombrado a `.model_dump()`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. docs_src/response_model/tutorial001_py310.py

    Yurii Karabas <******@****.***> 1673099148 +0200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 537 bytes
    - Viewed (0)
  6. docs_src/response_model/tutorial004_py310.py

    Sebastián Ramírez <******@****.***> 1641564691 +0100
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 595 bytes
    - Viewed (0)
  7. docs_src/schema_extra_example/tutorial003_py310.py

    Sebastián Ramírez <******@****.***> 1688149516 +0200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 574 bytes
    - Viewed (0)
  8. docs_src/schema_extra_example/tutorial004_py310.py

    Sebastián Ramírez <******@****.***> 1688229809 +0200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Jul 01 16:43:29 UTC 2023
    - 786 bytes
    - Viewed (0)
  9. docs_src/schema_extra_example/tutorial005_py310.py

    Sebastián Ramírez <******@****.***> 1693072993 +0200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. docs_src/body/tutorial001_py310.py

    Sebastián Ramírez <******@****.***> 1641564691 +0100
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 271 bytes
    - Viewed (0)
Back to top