Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 127 for 20 (0.12 sec)

  1. docs/zh/docs/tutorial/body-multiple-params.md

    首先,毫无疑问地,你可以随意地混合使用 `Path`、`Query` 和请求体参数声明,**FastAPI** 会知道该如何处理。
    
    你还可以通过将默认值设置为 `None` 来将请求体参数声明为可选参数:
    
    === "Python 3.10+"
    
        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="19-21"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-nested-models.md

        {!> ../../../docs_src/body_nested_models/tutorial004_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="20"
        {!> ../../../docs_src/body_nested_models/tutorial004_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="20"
        {!> ../../../docs_src/body_nested_models/tutorial004.py!}
        ```
    
    This would mean that **FastAPI** would expect a body similar to:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  3. docs/pl/docs/index.md

    ---
    
    ## **Typer**, FastAPI aplikacji konsolowych
    
    <a href="https://typer.tiangolo.com" target="_blank"><img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;"></a>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  4. docs/ru/docs/index.md

    ---
    
    ## **Typer**, интерфейс командной строки для FastAPI
    
    <a href="https://typer.tiangolo.com" target="_blank"><img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;"></a>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  5. docs/it/docs/index.md

    ---
    
    ## **Typer**, la FastAPI delle CLI
    
    <a href="https://typer.tiangolo.com" target="_blank"><img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;"></a>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/extending-openapi.md

    ```Python hl_lines="1  4  7-9"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### 生成 OpenAPI 概图
    
    然后,在 `custom_openapi()` 函数里使用 `get_openapi()` 工具函数生成 OpenAPI 概图:
    
    ```Python hl_lines="2  15-20"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### 修改 OpenAPI 概图
    
    添加 ReDoc 扩展信息,为 OpenAPI 概图里的  `info` **对象**添加自定义 `x-logo`:
    
    ```Python hl_lines="21-23"
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:46:12 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. docs/en/docs/fastapi-people.md

    {% if people %}
    <div class="user-list user-list-center">
    {% for user in people.one_year_experts[:20] %}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 16 23:54:24 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  8. docs/zh/docs/index.md

    ---
    
    ## **Typer**,命令行中的 FastAPI
    
    <a href="https://typer.tiangolo.com" target="_blank"><img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;"></a>
    
    如果你正在开发一个在终端中运行的<abbr title="Command Line Interface">命令行</abbr>应用而不是 web API,不妨试下 <a href="https://typer.tiangolo.com/" class="external-link" target="_blank">**Typer**</a>。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/path-params.md

    ```
    
    #### *Enum-Wert* erhalten
    
    Den tatsächlichen Wert (in diesem Fall ein `str`) erhalten Sie via `model_name.value`, oder generell, `ihr_enum_member.value`:
    
    ```Python hl_lines="20"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    !!! tip "Tipp"
        Sie können den Wert `"lenet"` außerdem mittels `ModelName.lenet.value` abrufen.
    
    #### *Enum-Member* zurückgeben
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/request-files.md

    Так же, как и раньше, вы можете использовать `File()` для задания дополнительных параметров, даже для `UploadFile`:
    
    === "Python 3.9+"
    
        ```Python hl_lines="11  18-20"
        {!> ../../../docs_src/request_files/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.6+"
    
        ```Python hl_lines="12  19-21"
        {!> ../../../docs_src/request_files/tutorial003_an.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top