Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for 13 (0.26 sec)

  1. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    === "Python 3.10+"
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/dependencies/tutorial005_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/dependencies/tutorial005_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:09:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/custom-request-and-route.md

    ```Python hl_lines="26"
    {!../../../docs_src/custom_request_and_route/tutorial003.py!}
    ```
    
    本例中,*路径操作*下的 `router` 使用自定义的 `TimedRoute` 类,并在响应中包含输出生成响应时间的 `X-Response-Time` 响应头:
    
    ```Python hl_lines="13-20"
    {!../../../docs_src/custom_request_and_route/tutorial003.py!}
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:45:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. docs/fr/docs/advanced/additional-responses.md

    ```
    
    Vous pouvez utiliser cette technique pour réutiliser certaines réponses prédéfinies dans vos *paramètres de chemin* et les combiner avec des réponses personnalisées supplémentaires.
    
    Par exemple:
    
    ```Python hl_lines="13-17 26"
    {!../../../docs_src/additional_responses/tutorial004.py!}
    ```
    
    ## Plus d'informations sur les réponses OpenAPI
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/request-files.md

        ```Python hl_lines="7  14"
        {!> ../../../docs_src/request_files/tutorial001_02_py310.py!}
        ```
    
    ## `UploadFile` ⏮️ 🌖 🗃
    
    👆 💪 ⚙️ `File()` ⏮️ `UploadFile`, 🖼, ⚒ 🌖 🗃:
    
    ```Python hl_lines="13"
    {!../../../docs_src/request_files/tutorial001_03.py!}
    ```
    
    ## 💗 📁 📂
    
    ⚫️ 💪 📂 📚 📁 🎏 🕰.
    
    👫 🔜 👨‍💼 🎏 "📨 🏑" 📨 ⚙️ "📨 💽".
    
    ⚙️ 👈, 📣 📇 `bytes` ⚖️ `UploadFile`:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  5. docs/de/docs/how-to/extending-openapi.md

    Es wird nur einmal generiert und dann wird dasselbe zwischengespeicherte Schema für die nächsten Requests verwendet.
    
    ```Python hl_lines="13-14  25-26"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Die Methode überschreiben
    
    Jetzt können Sie die Methode `.openapi()` durch Ihre neue Funktion ersetzen.
    
    ```Python hl_lines="29"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 14 16:44:05 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/custom-request-and-route.md

    In this example, the *path operations* under the `router` will use the custom `TimedRoute` class, and will have an extra `X-Response-Time` header in the response with the time it took to generate the response:
    
    ```Python hl_lines="13-20"
    {!../../../docs_src/custom_request_and_route/tutorial003.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. docs/em/docs/how-to/custom-request-and-route.md

    ```Python hl_lines="26"
    {!../../../docs_src/custom_request_and_route/tutorial003.py!}
    ```
    
    👉 🖼, *➡ 🛠️* 🔽 `router` 🔜 ⚙️ 🛃 `TimedRoute` 🎓, & 🔜 ✔️ ➕ `X-Response-Time` 🎚 📨 ⏮️ 🕰 ⚫️ ✊ 🏗 📨:
    
    ```Python hl_lines="13-20"
    {!../../../docs_src/custom_request_and_route/tutorial003.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/request-files.md

        ```Python hl_lines="9  17"
        {!> ../../../docs_src/request_files/tutorial001_02.py!}
        ```
    
    ## 带有额外元数据的 `UploadFile`
    
    您也可以将 `File()` 与 `UploadFile` 一起使用,例如,设置额外的元数据:
    
    ```Python hl_lines="13"
    {!../../../docs_src/request_files/tutorial001_03.py!}
    ```
    
    ## 多文件上传
    
    FastAPI 支持同时上传多个文件。
    
    可用同一个「表单字段」发送含多个文件的「表单数据」。
    
    上传多个文件时,要声明含 `bytes` 或 `UploadFile` 的列表(`List`):
    
    === "Python 3.9+"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/extending-openapi.md

    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### 缓存 OpenAPI 概图
    
    把 `.openapi_schema` 属性当作**缓存**,存储生成的概图。
    
    通过这种方式,**FastAPI** 应用不必在用户每次打开 API 文档时反复生成概图。
    
    只需生成一次,下次请求时就可以使用缓存的概图。
    
    ```Python hl_lines="13-14  24-25"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### 覆盖方法
    
    用新函数替换 `.openapi()` 方法。
    
    ```Python hl_lines="28"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### 查看文档
    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)
  10. docs/zh/docs/tutorial/query-params-str-validations.md

    你可以添加 `title`:
    
    ```Python hl_lines="10"
    {!../../../docs_src/query_params_str_validations/tutorial007.py!}
    ```
    
    以及 `description`:
    
    ```Python hl_lines="13"
    {!../../../docs_src/query_params_str_validations/tutorial008.py!}
    ```
    
    ## 别名参数
    
    假设你想要查询参数为 `item-query`。
    
    像下面这样:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top