Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for 20 (0.14 sec)

  1. docs/de/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!}
        ```
    
    Das würde bedeuten, dass **FastAPI** einen Body erwartet wie:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="19"
        {!> ../../../docs_src/dependencies/tutorial002_an_py39.py!}
        ```
    
    === "Python 3.6+"
    
        ```Python hl_lines="20"
        {!> ../../../docs_src/dependencies/tutorial002_an.py!}
        ```
    
    === "Python 3.10+ без Annotated"
    
        !!! tip "Подсказка"
            Рекомендуется использовать версию с `Annotated` если возможно.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 12 11:12:19 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/advanced-dependencies.md

    处理依赖项时,**FastAPI** 以如下方式调用 `checker`:
    
    ```Python
    checker(q="somequery")
    ```
    
    ……并用*路径操作函数*的参数 `fixed_content_included` 返回依赖项的值:
    
    ```Python hl_lines="20"
    {!../../../docs_src/dependencies/tutorial011.py!}
    ```
    
    !!! tip "提示"
    
        本章示例有些刻意,也看不出有什么用处。
    
        这个简例只是为了说明高级依赖项的运作机制。
    
        在有关安全的章节中,工具函数将以这种方式实现。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jan 28 18:26:57 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/dataclasses.md

    But FastAPI also supports using <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a> the same way:
    
    ```Python hl_lines="1  7-12  19-20"
    {!../../../docs_src/dataclasses/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. docs/ru/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!}
        ```
    
    Это означает, что **FastAPI** будет ожидать тело запроса, аналогичное этому:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  6. 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)
  7. docs/de/docs/tutorial/path-operation-configuration.md

        {!> ../../../docs_src/path_operation_configuration/tutorial003_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="20-21"
        {!> ../../../docs_src/path_operation_configuration/tutorial003_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="20-21"
        {!> ../../../docs_src/path_operation_configuration/tutorial003.py!}
        ```
    
    ## Beschreibung mittels Docstring
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:07:48 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  8. docs/fr/docs/advanced/additional-responses.md

    Et une réponse avec un code HTTP `200` qui utilise votre `response_model`, mais inclut un `example` personnalisé :
    
    ```Python hl_lines="20-31"
    {!../../../docs_src/additional_responses/tutorial003.py!}
    ```
    
    Tout sera combiné et inclus dans votre OpenAPI, et affiché dans la documentation de l'API :
    
    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)
  9. docs/em/docs/advanced/path-operation-advanced-configuration.md

    , 👆 💪 🚮 🌖 💽 🔁 🏗 🔗.
    
    🖼, 👆 💪 💭 ✍ &amp; ✔ 📨 ⏮️ 👆 👍 📟, 🍵 ⚙️ 🏧 ⚒ FastAPI ⏮️ Pydantic, ✋️ 👆 💪 💚 🔬 📨 🗄 🔗.
    
    👆 💪 👈 ⏮️ `openapi_extra`:
    
    ```Python hl_lines="20-37  39-40"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial006.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/query-params.md

    http://127.0.0.1:8000/items/
    ```
    
    以下のURLにアクセスすることと同等になります:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    しかし、例えば、以下にアクセスすると:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    関数内のパラメータの値は以下の様になります:
    
    * `skip=20`: URL内にセットしたため
    * `limit=10`: デフォルト値
    
    ## オプショナルなパラメータ
    
    同様に、デフォルト値を `None` とすることで、オプショナルなクエリパラメータを宣言できます:
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params/tutorial002.py!}
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top