Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. docs/en/docs/tutorial/body-multiple-params.md

    And you can also declare body parameters as optional, by setting the default to `None`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="19-21"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  2. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  3. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:07:48 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. docs/ru/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!}
        ```
    
    ## Описание из строк документации
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 8K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/body-multiple-params.md

    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="22"
        {!> ../../../docs_src/body_multiple_params/tutorial002.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="20"
        {!> ../../../docs_src/body_multiple_params/tutorial002_py310.py!}
        ```
    
    👉 💼, **FastAPI** 🔜 👀 👈 📤 🌅 🌘 1️⃣ 💪 🔢 🔢 (2️⃣ 🔢 👈 Pydantic 🏷).
    
    , ⚫️ 🔜 ⤴️ ⚙️ 🔢 📛 🔑 (🏑 📛) 💪, & ⌛ 💪 💖:
    
    ```JSON
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 5K bytes
    - Viewed (0)
  6. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/schema-extra-example.md

        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip Заметка
            Рекомендуется использовать версию с `Annotated`, если это возможно.
    
        ```Python hl_lines="20-25"
        {!> ../../../docs_src/schema_extra_example/tutorial003.py!}
        ```
    
    ### Аргумент "example" в UI документации
    
    С любым из вышеуказанных методов это будет выглядеть так в `/docs`:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/schema-extra-example.md

    そのため、OpenAPIでは同じ目的のために<a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#fixed-fields-20" class="external-link" target="_blank">`example`</a>を独自に定義しており(`examples`ではなく`example`として)、それがdocs UI(Swagger UIを使用)で使用されています。
    
    つまり、`example`はJSON Schemaの一部ではありませんが、OpenAPIの一部であり、それがdocs UIで使用されることになります。
    
    ## その他の情報
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/query-params.md

    ```
    http://127.0.0.1:8000/items/
    ```
    
    아래로 이동하는 것과 같습니다:
    
    ```
    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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/query-params.md

    访问 URL:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    与访问以下地址相同:
    
    ```
    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 3.10+"
    
        ```Python hl_lines="7"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top