Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 310 for tutorial014_py310 (0.69 sec)

  1. 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)
  2. docs/en/docs/how-to/separate-openapi-schemas.md

    Let's say you have a Pydantic model with default values, like this one:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:7] hl[7] *}
    
    ### Model for Input { #model-for-input }
    
    If you use this model as an input like here:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *}
    
    ...then the `description` field will **not be required**. Because it has a default value of `None`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. docs_src/body/tutorial004_py310.py

    Sebastián Ramírez <******@****.***> 1766246138 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 414 bytes
    - Viewed (0)
  6. docs_src/dependencies/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
    - 607 bytes
    - Viewed (0)
  7. docs_src/path_operation_advanced_configuration/tutorial004_py310.py

    Motov Yurii <******@****.***> 1765356932 +0100
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 674 bytes
    - Viewed (0)
  8. docs_src/query_params_str_validations/tutorial004_py310.py

    Sebastián Ramírez <******@****.***> 1698179166 +0400
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 335 bytes
    - Viewed (0)
  9. docs_src/body_nested_models/tutorial004_py310.py

    hitrust <******@****.***> 1652290142 +0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed May 11 17:29:02 UTC 2022
    - 455 bytes
    - Viewed (0)
  10. docs_src/path_operation_configuration/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
    - 638 bytes
    - Viewed (0)
Back to top