Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for 39 (0.14 sec)

  1. docs/zh/docs/advanced/async-sql-databases.md

    ```Python hl_lines="25-28"
    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    ## 创建模型
    
    创建以下 Pydantic 模型:
    
    * 创建笔记的模型(`NoteIn`)
    * 返回笔记的模型(`Note`)
    
    ```Python hl_lines="31-33  36-39"
    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    这两个 Pydantic 模型都可以辅助验证、序列化(转换)并注释(存档)输入的数据。
    
    因此,API 文档会显示这些数据。
    
    ## 连接与断开
    
    * 创建 `FastAPI` 应用
    * 创建事件处理器,执行数据库连接与断开操作
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:44:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-docs-ui-assets.md

    ### Create a *path operation* to test static files
    
    Now, to be able to test that everything works, create a *path operation*:
    
    ```Python hl_lines="39-41"
    {!../../../docs_src/custom_docs_ui/tutorial002.py!}
    ```
    
    ### Test Static Files UI
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/extra-models.md

    ## 多个模型
    
    下面的代码展示了不同模型处理密码字段的方式,及使用位置的大致思路:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7  9  14  20  22  27-28  31-33  38-39"
        {!> ../../../docs_src/extra_models/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9  11  16  22  24  29-30  33-35  40-41"
        {!> ../../../docs_src/extra_models/tutorial001.py!}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Apr 01 01:15:53 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/extra-models.md

    Hier der generelle Weg, wie die Modelle mit ihren Passwort-Feldern aussehen könnten, und an welchen Orten sie verwendet werden würden.
    
    === "Python 3.10+"
    
        ```Python hl_lines="7  9  14  20  22  27-28  31-33  38-39"
        {!> ../../../docs_src/extra_models/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9  11  16  22  24  29-30  33-35  40-41"
        {!> ../../../docs_src/extra_models/tutorial001.py!}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:26:47 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/async-sql-databases.md

    ```Python hl_lines="25-28"
    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    ## ✍ 🏷
    
    ✍ Pydantic 🏷:
    
    * 🗒 ✍ (`NoteIn`).
    * 🗒 📨 (`Note`).
    
    ```Python hl_lines="31-33  36-39"
    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    🏗 👫 Pydantic 🏷, 🔢 💽 🔜 ✔, 🎻 (🗜), & ✍ (📄).
    
    , 👆 🔜 💪 👀 ⚫️ 🌐 🎓 🛠️ 🩺.
    
    ## 🔗 & 🔌
    
    * ✍ 👆 `FastAPI` 🈸.
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/extra-models.md

        ```Python hl_lines="9  11  16  22  24  29-30  33-35  40-41"
        {!> ../../../docs_src/extra_models/tutorial001.py!}
        ```
    
    === "Python 3.10 and above"
    
        ```Python hl_lines="7  9  14  20  22  27-28  31-33  38-39"
        {!> ../../../docs_src/extra_models/tutorial001_py310.py!}
        ```
    
    ### Sobre `**user_in.dict()`
    
    #### O `.dict()` do Pydantic
    
    `user_in` é um modelo Pydantic da classe `UserIn`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/extra-models.md

    Ниже изложена основная идея того, как могут выглядеть эти модели с полями для паролей, а также описаны места, где они используются:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7  9  14  20  22  27-28  31-33  38-39"
        {!> ../../../docs_src/extra_models/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9  11  16  22  24  29-30  33-35  40-41"
        {!> ../../../docs_src/extra_models/tutorial001.py!}
    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/em/docs/tutorial/extra-models.md

        ```Python hl_lines="9  11  16  22  24  29-30  33-35  40-41"
        {!> ../../../docs_src/extra_models/tutorial001.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="7  9  14  20  22  27-28  31-33  38-39"
        {!> ../../../docs_src/extra_models/tutorial001_py310.py!}
        ```
    
    ### 🔃 `**user_in.dict()`
    
    #### Pydantic `.dict()`
    
    `user_in` Pydantic 🏷 🎓 `UserIn`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/extra-models.md

    ## Multiple models
    
    Here's a general idea of how the models could look like with their password fields and the places where they are used:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7  9  14  20  22  27-28  31-33  38-39"
        {!> ../../../docs_src/extra_models/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9  11  16  22  24  29-30  33-35  40-41"
        {!> ../../../docs_src/extra_models/tutorial001.py!}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  10. docs/de/docs/tutorial/schema-extra-example.md

        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="23-38"
        {!> ../../../docs_src/schema_extra_example/tutorial004_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="24-39"
        {!> ../../../docs_src/schema_extra_example/tutorial004_an.py!}
        ```
    
    === "Python 3.10+ 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 20:19:53 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top