Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for 13 (0.32 sec)

  1. 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)
  2. docs/ja/docs/tutorial/query-params-str-validations.md

    `title`を追加できます:
    
    ```Python hl_lines="9"
    {!../../../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: Sat May 14 11:59:59 GMT 2022
    - 10.5K bytes
    - Viewed (1)
  3. docs/en/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: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/additional-responses.md

    ```python
    {
        "old key": "old value",
        "second old key": "second old value",
        "new key": "new value",
    }
    ```
    您可以使用该技术在路径操作中重用一些预定义的响应,并将它们与其他自定义响应相结合。
    **例如:**
    ```Python hl_lines="13-17  26"
    {!../../../docs_src/additional_responses/tutorial004.py!}
    ```
    ## 有关OpenAPI响应的更多信息
    
    要了解您可以在响应中包含哪些内容,您可以查看OpenAPI规范中的以下部分:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 15:53:39 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/query-params-str-validations.md

        ```Python hl_lines="8"
        {!> ../../../docs_src/query_params_str_validations/tutorial007_py310.py!}
        ```
    
    & `description`:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/query_params_str_validations/tutorial008.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="11"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md

    === "파이썬 3.6 이상"
    
        ```Python hl_lines="11-15"
        {!> ../../../docs_src/dependencies/tutorial002.py!}
        ```
    
    === "파이썬 3.10 이상"
    
        ```Python hl_lines="9-13"
        {!> ../../../docs_src/dependencies/tutorial002_py310.py!}
        ```
    
    클래스의 인스턴스를 생성하는 데 사용되는 `__init__` 메서드에 주목하기 바랍니다:
    
    === "파이썬 3.6 이상"
    
        ```Python hl_lines="12"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. docs/pt/docs/tutorial/query-params-str-validations.md

    Você pode adicionar um `title`:
    
    ```Python hl_lines="10"
    {!../../../docs_src/query_params_str_validations/tutorial007.py!}
    ```
    
    E uma `description`:
    
    ```Python hl_lines="13"
    {!../../../docs_src/query_params_str_validations/tutorial008.py!}
    ```
    
    ## Apelidos (alias) de parâmetros
    
    Imagine que você queira que um parâmetro tenha o nome `item-query`.
    
    Desta maneira:
    
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/sql-databases.md

    {!../../../docs_src/sql_databases/sql_app/database.py!}
    ```
    
    ### ✍ `Base` 🎓
    
    🔜 👥 🔜 ⚙️ 🔢 `declarative_base()` 👈 📨 🎓.
    
    ⏪ 👥 🔜 😖 ⚪️➡️ 👉 🎓 ✍ 🔠 💽 🏷 ⚖️ 🎓 (🐜 🏷):
    
    ```Python hl_lines="13"
    {!../../../docs_src/sql_databases/sql_app/database.py!}
    ```
    
    ## ✍ 💽 🏷
    
    ➡️ 🔜 👀 📁 `sql_app/models.py`.
    
    ### ✍ 🇸🇲 🏷 ⚪️➡️ `Base` 🎓
    
    👥 🔜 ⚙️ 👉 `Base` 🎓 👥 ✍ ⏭ ✍ 🇸🇲 🏷.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 25.2K bytes
    - Viewed (1)
Back to top