Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 295 for tutorial002_py310 (0.16 sec)

  1. docs/em/docs/tutorial/extra-models.md

    {!> ../../docs_src/extra_models/tutorial002.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
    
    ```Python hl_lines="7  13-14  17-18  21-22"
    {!> ../../docs_src/extra_models/tutorial002_py310.py!}
    ```
    
    ////
    
    ## `Union` ⚖️ `anyOf`
    
    👆 💪 📣 📨 `Union` 2️⃣ 🆎, 👈 ⛓, 👈 📨 🔜 🙆 2️⃣.
    
    ⚫️ 🔜 🔬 🗄 ⏮️ `anyOf`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/body-multiple-params.md

        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    但是你也可以声明多个请求体参数,例如 `item` 和 `user`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="20"
    {!> ../../docs_src/body_multiple_params/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="22"
    {!> ../../docs_src/body_multiple_params/tutorial002.py!}
    ```
    
    ////
    
    在这种情况下,**FastAPI** 将注意到该函数中有多个请求体参数(两个 Pydantic 模型参数)。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. docs/pt/docs/how-to/separate-openapi-schemas.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="7"
    {!> ../../docs_src/separate_openapi_schemas/tutorial001_py310.py[ln:1-7]!}
    
    # Code below omitted 👇
    ```
    
    <details>
    <summary>👀 Visualização completa do arquivo</summary>
    
    ```Python
    {!> ../../docs_src/separate_openapi_schemas/tutorial001_py310.py!}
    ```
    
    </details>
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:52:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/websockets.md

    ```
    
    ////
    
    //// tab | Python 3.10+ 非带注解版本
    
    /// tip
    
    如果可能,请尽量使用 `Annotated` 版本。
    
    ///
    
    ```Python hl_lines="66-67  79"
    {!> ../../docs_src/websockets/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ 非带注解版本
    
    /// tip
    
    如果可能,请尽量使用 `Annotated` 版本。
    
    ///
    
    ```Python hl_lines="68-69  81"
    {!> ../../docs_src/websockets/tutorial002.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/query-params-str-validations.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="7"
    {!> ../../docs_src/query_params_str_validations/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/schema-extra-example.md

    Вы можете использовать это, чтобы добавить аргумент `example` для каждого поля:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="2  8-11"
    {!> ../../docs_src/schema_extra_example/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4  10-13"
    {!> ../../docs_src/schema_extra_example/tutorial002.py!}
    ```
    
    ////
    
    /// warning | Внимание
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/background-tasks.md

    ```Python hl_lines="13  15  22  25"
    {!> ../../docs_src/background_tasks/tutorial002.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ &amp; 🔛
    
    ```Python hl_lines="11  13  20  23"
    {!> ../../docs_src/background_tasks/tutorial002_py310.py!}
    ```
    
    ////
    
    👉 🖼, 📧 🔜 ✍ `log.txt` 📁 *⏮️* 📨 📨.
    
    🚥 📤 🔢 📨, ⚫️ 🔜 ✍ 🕹 🖥 📋.
    
    &amp; ⤴️ ➕1️⃣ 🖥 📋 🏗 *➡ 🛠️ 🔢* 🔜 ✍ 📧 ⚙️ `email` ➡ 🔢.
    
    ## 📡 ℹ
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs/de/docs/how-to/separate-openapi-schemas.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="7"
    {!> ../../docs_src/separate_openapi_schemas/tutorial001_py310.py[ln:1-7]!}
    
    # Code unterhalb weggelassen 👇
    ```
    
    <details>
    <summary>👀 Vollständige Dateivorschau</summary>
    
    ```Python
    {!> ../../docs_src/separate_openapi_schemas/tutorial001_py310.py!}
    ```
    
    </details>
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/extra-models.md

    这样,就可以仅声明模型之间的差异部分(具有明文的 `password`、具有 `hashed_password` 以及不包括密码)。
    
    通过这种方式,可以只声明模型之间的区别(分别包含明文密码、哈希密码,以及无密码的模型)。
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="7  13-14  17-18  21-22"
    {!> ../../docs_src/extra_models/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9  15-16  19-20  23-24"
    {!> ../../docs_src/extra_models/tutorial002.py!}
    ```
    
    ////
    
    ## `Union` 或者 `anyOf`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/extra-models.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="7  13-14  17-18  21-22"
    {!> ../../docs_src/extra_models/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9  15-16  19-20  23-24"
    {!> ../../docs_src/extra_models/tutorial002.py!}
    ```
    
    ////
    
    ## `Union` или `anyOf`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top