Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 80 for 13 (0.12 sec)

  1. docs/pt/docs/tutorial/schema-extra-example.md

    Você pode usar isso para adicionar um `example` para cada campo:
    
    ```Python hl_lines="4  10-13"
    {!../../../docs_src/schema_extra_example/tutorial002.py!}
    ```
    
    !!! warning "Atenção"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. docs/en/docs/img/tutorial/bigger-applications/package.drawio

    <mxfile host="65bd71144e" modified="2020-11-28T18:13:19.199Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.51.1 Chrome/83.0.4103.122 Electron/9.3.3 Safari/537.36" etag="KPHuXUeExV3PdWouu_3U" version="13.6.5">
        <diagram id="zB4-QXJZ7ScUzHSLnJ1i" name="Page-1">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

        {!> ../../../docs_src/dependencies/tutorial002_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="9-13"
        {!> ../../../docs_src/dependencies/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/security/http-basic-auth.md

    ## 检查用户名
    
    以下是更完整的示例。
    
    使用依赖项检查用户名与密码是否正确。
    
    为此要使用 Python 标准模块 <a href="https://docs.python.org/3/library/secrets.html" class="external-link" target="_blank">`secrets`</a> 检查用户名与密码:
    
    ```Python hl_lines="1  11-13"
    {!../../../docs_src/security/tutorial007.py!}
    ```
    
    这段代码确保 `credentials.username` 是 `"stanleyjobson"`,且 `credentials.password` 是`"swordfish"`。与以下代码类似:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:43:48 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-nested-models.md

    ```Python
    images: List[Image]
    ```
    
    or in Python 3.9 and above:
    
    ```Python
    images: list[Image]
    ```
    
    as in:
    
    === "Python 3.9+"
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/body_nested_models/tutorial008_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="15"
        {!> ../../../docs_src/body_nested_models/tutorial008.py!}
        ```
    
    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)
  6. docs/ko/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: Sun Feb 11 13:48:31 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/request-files.md

    === "Python 3.9+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/request_files/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/request_files/tutorial001_an.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="12"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/additional-responses.md

    }
    ```
    
    Mit dieser Technik können Sie einige vordefinierte Responses in Ihren *Pfadoperationen* wiederverwenden und sie mit zusätzlichen benutzerdefinierten Responses kombinieren.
    
    Zum Beispiel:
    
    ```Python hl_lines="13-17  26"
    {!../../../docs_src/additional_responses/tutorial004.py!}
    ```
    
    ## Weitere Informationen zu OpenAPI-Responses
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:19:26 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/additional-responses.md

        "new key": "new value",
    }
    ```
    
    You can use that technique to re-use some predefined responses in your *path operations* and combine them with additional custom ones.
    
    For example:
    
    ```Python hl_lines="13-17  26"
    {!../../../docs_src/additional_responses/tutorial004.py!}
    ```
    
    ## More information about OpenAPI responses
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md

    这也适用于完全没有参数的可调用对象。这与不带参数的路径操作函数一样。
    
    所以,我们可以将上面的依赖项 "可依赖对象" `common_parameters` 更改为类 `CommonQueryParams`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="9-13"
        {!> ../../../docs_src/dependencies/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="11-15"
        {!> ../../../docs_src/dependencies/tutorial002.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6.5K bytes
    - Viewed (0)
Back to top