Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for 21 (0.15 sec)

  1. docs/em/docs/tutorial/path-operation-configuration.md

    ```
    
    ## 📄 & 📛
    
    👆 💪 🚮 `summary` & `description`:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="20-21"
        {!> ../../../docs_src/path_operation_configuration/tutorial003.py!}
        ```
    
    === "🐍 3️⃣.9️⃣ & 🔛"
    
        ```Python hl_lines="20-21"
        {!> ../../../docs_src/path_operation_configuration/tutorial003_py39.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  2. docs/de/docs/how-to/separate-openapi-schemas.md

        {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="21"
        {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="21"
        {!> ../../../docs_src/separate_openapi_schemas/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:18:03 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/separate-openapi-schemas.md

        {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="21"
        {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="21"
        {!> ../../../docs_src/separate_openapi_schemas/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/security/http-basic-auth.md

        {!> ../../../docs_src/security/tutorial007_an.py!}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="1  11-21"
        {!> ../../../docs_src/security/tutorial007.py!}
        ```
    
    Dies wäre das gleiche wie:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:28:08 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/path-operation-configuration.md

    ```
    
    ## Resumo e descrição
    
    Você pode adicionar um `summary` e uma `description`:
    
    === "Python 3.8 and above"
    
        ```Python hl_lines="20-21"
        {!> ../../../docs_src/path_operation_configuration/tutorial003.py!}
        ```
    
    === "Python 3.9 and above"
    
        ```Python hl_lines="20-21"
        {!> ../../../docs_src/path_operation_configuration/tutorial003_py39.py!}
        ```
    
    === "Python 3.10 and above"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/settings.md

    === "Python 3.9+"
    
        ```Python hl_lines="17  19-21"
        {!> ../../../docs_src/settings/app02_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="17  19-21"
        {!> ../../../docs_src/settings/app02_an/main.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/settings.md

        目前,您可以将 `get_settings()` 视为普通函数。
    
    然后,我们可以将其作为依赖项从“路径操作函数”中引入,并在需要时使用它。
    
    === "Python 3.9+"
    
        ```Python hl_lines="17  19-21"
        {!> ../../../docs_src/settings/app02_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="17  19-21"
        {!> ../../../docs_src/settings/app02_an/main.py!}
        ```
    
    === "Python 3.8+ 非注解版本"
    
        !!! tip
            如果可能,请尽量使用 `Annotated` 版本。
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/path-operation-configuration.md

    ```
    
    OpenAPI 概图会自动添加标签,供 API 文档接口使用:
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ## `summary` 和 `description` 参数
    
    路径装饰器还支持 `summary` 和 `description` 这两个参数:
    
    ```Python hl_lines="20-21"
    {!../../../docs_src/path_operation_configuration/tutorial003.py!}
    ```
    
    ## 文档字符串(`docstring`)
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  9. docs/ja/docs/advanced/nosql-databases.md

    この関数では以下の処理を行います:
    
    * **Couchbase** クラスタ(1台の場合もあるでしょう)に接続
        * タイムアウトのデフォルト値を設定
    * クラスタで認証を取得
    * `Bucket` インスタンスを取得
        * タイムアウトのデフォルト値を設定
    * 作成した`Bucket`インスタンスを返却
    
    ```Python hl_lines="12-21"
    {!../../../docs_src/nosql_databases/tutorial001.py!}
    ```
    
    ## Pydantic モデルの作成
    
    **Couchbase**のdocumentは実際には単にJSONオブジェクトなのでPydanticを利用してモデルに出来ます。
    
    ### `User` モデル
    
    まずは`User`モデルを作成してみましょう:
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Thu Aug 18 15:54:22 GMT 2022
    - 7K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/request-files.md

    === "Python 3.9+"
    
        ```Python hl_lines="11  18-20"
        {!> ../../../docs_src/request_files/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="12  19-21"
        {!> ../../../docs_src/request_files/tutorial003_an.py!}
        ```
    
    === "Python 3.9+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 17:58:08 GMT 2024
    - 11.5K bytes
    - Viewed (0)
Back to top