Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 35 (0.13 sec)

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

    此类[`Config`](https://docs.pydantic.dev/latest/api/config/)用于为 Pydantic 提供配置。
    
    在`Config`类中,设置属性`orm_mode = True`。
    
    === "Python 3.10+"
    
        ```Python hl_lines="13  17-18  29  34-35"
        {!> ../../../docs_src/sql_databases/sql_app_py310/schemas.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="15  19-20  31  36-37"
        {!> ../../../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

        ```Python hl_lines="15  19-20  31  36-37"
        {!> ../../../docs_src/sql_databases/sql_app_py39/schemas.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="13  17-18  29  34-35"
        {!> ../../../docs_src/sql_databases/sql_app_py310/schemas.py!}
        ```
    
    !!! tip
        👀 ⚫️ ⚖ 💲 ⏮️ `=`, 💖:
    
        `orm_mode = True`
    
        ⚫️ 🚫 ⚙️ `:` 🆎 📄 ⏭.
    
        👉 ⚒ 📁 💲, 🚫 📣 🆎.
    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

    In the `Config` class, set the attribute `orm_mode = True`.
    
    === "Python 3.10+"
    
        ```Python hl_lines="13  17-18  29  34-35"
        {!> ../../../docs_src/sql_databases/sql_app_py310/schemas.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="15  19-20  31  36-37"
        {!> ../../../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