Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 252 for 38 (0.09 sec)

  1. docs/zh/docs/tutorial/response-model.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9  11  16"
    {!> ../../docs_src/response_model/tutorial003.py!}
    ```
    
    ////
    
    这样,即便我们的*路径操作函数*将会返回包含密码的相同输入用户:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="24"
    {!> ../../docs_src/response_model/tutorial003_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="24"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/websockets.md

    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="68-69  82"
    {!> ../../docs_src/websockets/tutorial002_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="69-70  83"
    {!> ../../docs_src/websockets/tutorial002_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/background-tasks.md

    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="13  15  22  25"
    {!> ../../docs_src/background_tasks/tutorial002_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="14  16  23  26"
    {!> ../../docs_src/background_tasks/tutorial002_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.4K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/request-files.md

    您可以通过使用标准类型注解并将 None 作为默认值的方式将一个文件参数设为可选:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="7  14"
    {!> ../../docs_src/request_files/tutorial001_02_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9  17"
    {!> ../../docs_src/request_files/tutorial001_02.py!}
    ```
    
    ////
    
    ## 带有额外元数据的 `UploadFile`
    
    您也可以将 `File()` 与 `UploadFile` 一起使用,例如,设置额外的元数据:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/path-params-numeric-validations.md

    Primeiro, importe `Path` de `fastapi`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001.py!}
    ```
    
    ////
    
    ## Declare metadados
    
    Você pode declarar todos os parâmetros da mesma maneira que na `Query`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/generate-clients.md

    Let's start with a simple FastAPI application:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="7-9  12-13  16-17  21"
    {!> ../../docs_src/generate_clients/tutorial001_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9-11  14-15  18  19  23"
    {!> ../../docs_src/generate_clients/tutorial001.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/background-tasks.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="14  16  23  26"
    {!> ../../docs_src/background_tasks/tutorial002_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ 没Annotated
    
    /// tip
    
    尽可能选择使用 `Annotated` 的版本。
    
    ///
    
    ```Python hl_lines="11  13  20  23"
    {!> ../../docs_src/background_tasks/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ 没Annotated
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. docs/uk/docs/tutorial/encoder.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="4  21"
    {!> ../../docs_src/encoder/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="5  22"
    {!> ../../docs_src/encoder/tutorial001.py!}
    ```
    
    ////
    
    У цьому прикладі вона конвертує Pydantic model у `dict`, а `datetime` у `str`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/testing.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip | "Dica"
    
    Prefira usar a versão `Annotated` se possível.
    
    ///
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_py310/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip | "Dica"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/testing.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip | "提示"
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_py310/main.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
    - 6K bytes
    - Viewed (0)
Back to top