Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tutorial002_py39 (0.11 sec)

  1. docs/pt/docs/how-to/separate-openapi-schemas.md

    ///
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="10"
    {!> ../../docs_src/separate_openapi_schemas/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="12"
    {!> ../../docs_src/separate_openapi_schemas/tutorial002_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="12"
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:52:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

    As the type, put `list`.
    
    As the list is a type that contains some internal types, you put them in square brackets:
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial006_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    From `typing`, import `List` (with a capital `L`):
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial006.py!}
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/separate-openapi-schemas.md

    /// info
    
    Support for `separate_input_output_schemas` was added in FastAPI `0.102.0`. 🤓
    
    ///
    
    {* ../../docs_src/separate_openapi_schemas/tutorial002_py310.py hl[10] *}
    
    ### Same Schema for Input and Output Models in Docs
    
    And now there will be one single schema for input and output for the model, only `Item`, and it will have `description` as **not required**:
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:43:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top