Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 32 (0.12 sec)

  1. docs/zh/docs/tutorial/sql-databases.md

    例如,在创建一个项目之前,我们不知道分配给它的 ID 是什么,但是在读取它时(从 API 返回时)我们已经知道它的 ID。
    
    同样,当读取用户时,我们现在可以声明`items`,将包含属于该用户的项目。
    
    不仅是这些项目的 ID,还有我们在 Pydantic*模型*中定义的用于读取项目的所有数据:`Item`.
    
    === "Python 3.10+"
    
        ```Python hl_lines="13-15  29-32"
        {!> ../../../docs_src/sql_databases/sql_app_py310/schemas.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="15-17  31-34"
        {!> ../../../docs_src/sql_databases/sql_app_py39/schemas.py!}
        ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/sql-databases.md

    === "🐍 3️⃣.9️⃣ & 🔛"
    
        ```Python hl_lines="15-17  31-34"
        {!> ../../../docs_src/sql_databases/sql_app_py39/schemas.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="13-15  29-32"
        {!> ../../../docs_src/sql_databases/sql_app_py310/schemas.py!}
        ```
    
    !!! tip
        👀 👈 `User`, Pydantic *🏷* 👈 🔜 ⚙️ 🕐❔ 👂 👩‍💻 (🛬 ⚫️ ⚪️➡️ 🛠️) 🚫 🔌 `password`.
    
    ### ⚙️ Pydantic `orm_mode`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 25.2K bytes
    - Viewed (1)
  3. docs/en/docs/tutorial/sql-databases.md

    Not only the IDs of those items, but all the data that we defined in the Pydantic *model* for reading items: `Item`.
    
    === "Python 3.10+"
    
        ```Python hl_lines="13-15  29-32"
        {!> ../../../docs_src/sql_databases/sql_app_py310/schemas.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="15-17  31-34"
        {!> ../../../docs_src/sql_databases/sql_app_py39/schemas.py!}
        ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top