Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 252 for 38 (0.04 sec)

  1. docs/ru/docs/tutorial/body-nested-models.md

    Вы можете определять атрибут как подтип. Например, тип `list` в Python:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="12"
    {!> ../../docs_src/body_nested_models/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="14"
    {!> ../../docs_src/body_nested_models/tutorial001.py!}
    ```
    
    ////
    
    Это приведёт к тому, что обьект `tags` преобразуется в список, несмотря на то что тип его элементов не объявлен.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-nested-models.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="12"
    {!> ../../docs_src/body_nested_models/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="14"
    {!> ../../docs_src/body_nested_models/tutorial001.py!}
    ```
    
    ////
    
    This will make `tags` be a list, although it doesn't declare the type of the elements of the list.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/response-model.md

    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18  23"
    {!> ../../docs_src/response_model/tutorial001_01_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="18  23"
    {!> ../../docs_src/response_model/tutorial001_01.py!}
    ```
    
    ////
    
    FastAPI будет использовать этот возвращаемый тип для:
    
    * **Валидации** ответа.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/header-params.md

    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/header_params/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/header_params/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ без Annotated
    
    /// tip | "Подсказка"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9-10"
    {!> ../../docs_src/dependencies/tutorial005_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10 non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="6-7"
    {!> ../../docs_src/dependencies/tutorial005_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8 non-Annotated
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/header-params.md

    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/header_params/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/header_params/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ nicht annotiert
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/extra-data-types.md

    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1  3  12-16"
    {!> ../../docs_src/extra_data_types/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1  3  13-17"
    {!> ../../docs_src/extra_data_types/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ nicht annotiert
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/cookie-params.md

    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/cookie_params/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/cookie_params/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip | Dica
    
    Prefira utilizar a versão `Annotated` se possível.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/schema-extra-example.md

    ```Python hl_lines="13-23"
    {!> ../../docs_src/schema_extra_example/tutorial001_py310_pv1.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ Pydantic v2
    
    ```Python hl_lines="15-26"
    {!> ../../docs_src/schema_extra_example/tutorial001.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ Pydantic v1
    
    ```Python hl_lines="15-25"
    {!> ../../docs_src/schema_extra_example/tutorial001_pv1.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/header-params.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/header_params/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip
    
    尽可能选择使用 `Annotated` 的版本。
    
    ///
    
    ```Python hl_lines="1"
    {!> ../../docs_src/header_params/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top