Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 798 for Python (0.17 sec)

  1. docs/en/docs/tutorial/query-params.md

    ## Optional parameters
    
    The same way, you can declare optional query parameters, by setting their default to `None`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params/tutorial002.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 09:08:42 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/query-params-str-validations.md

    * `Annotated` von `typing` (oder von `typing_extensions` in Python unter 3.9)
    
    === "Python 3.10+"
    
        In Python 3.9 oder darüber, ist `Annotated` Teil der Standardbibliothek, also können Sie es von `typing` importieren.
    
        ```Python hl_lines="1  3"
        {!> ../../../docs_src/query_params_str_validations/tutorial002_an_py310.py!}
        ```
    
    === "Python 3.8+"
    
        In Versionen unter Python 3.9 importieren Sie `Annotated` von `typing_extensions`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/body-nested-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/body_nested_models/tutorial003_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial003_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  14"
        {!> ../../../docs_src/body_nested_models/tutorial003.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/body-multiple-params.md

    ```Python
    q: Union[str, None] = None
    ```
    
    Ou como em Python 3.10 e versões superiores:
    
    ```Python
    q: str | None = None
    ```
    
    Por exemplo:
    
    === "Python 3.10+"
    
        ```Python hl_lines="26"
        {!> ../../../docs_src/body_multiple_params/tutorial004_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="27"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/schema-extra-example.md

    === "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!}
        ```
    
    === "Python 3.8+ Pydantic v2"
    
        ```Python hl_lines="15-26"
    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)
  6. docs/en/docs/tutorial/schema-extra-example.md

    === "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!}
        ```
    
    === "Python 3.8+ Pydantic v2"
    
        ```Python hl_lines="15-26"
    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)
  7. docs/de/docs/tutorial/body.md

    Verwenden Sie Standard-Python-Typen für die Klassenattribute:
    
    === "Python 3.10+"
    
        ```Python hl_lines="5-9"
        {!> ../../../docs_src/body/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="7-11"
        {!> ../../../docs_src/body/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body.md

    === "Python 3.10+"
    
        ```Python hl_lines="2"
        {!> ../../../docs_src/body/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body/tutorial001.py!}
        ```
    
    ## Create your data model
    
    Then you declare your data model as a class that inherits from `BaseModel`.
    
    Use standard Python types for all the attributes:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-updates.md

    === "Python 3.10+"
    
        ```Python hl_lines="28-33"
        {!> ../../../docs_src/body_updates/tutorial001_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="30-35"
        {!> ../../../docs_src/body_updates/tutorial001_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="30-35"
        {!> ../../../docs_src/body_updates/tutorial001.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/header-params.md

    ## Импорт `Header`
    
    Сперва импортируйте `Header`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/header_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/header_params/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/header_params/tutorial001_an.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 8.7K bytes
    - Viewed (0)
Back to top