- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for confirm (0.15 sec)
-
docs/zh/docs/tutorial/sql-databases.md
``` !!! tip 请注意,读取用户(从 API 返回)时将使用不包括`password`的`User` Pydantic*模型*。 ### 使用 Pydantic 的`orm_mode` 现在,在用于查询的 Pydantic*模型*`Item`中`User`,添加一个内部`Config`类。 此类[`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!}
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) -
docs/em/docs/tutorial/sql-databases.md
### ⚙️ Pydantic `orm_mode` 🔜, Pydantic *🏷* 👂, `Item` & `User`, 🚮 🔗 `Config` 🎓. 👉 <a href="https://docs.pydantic.dev/latest/api/config/" class="external-link" target="_blank">`Config`</a> 🎓 ⚙️ 🚚 📳 Pydantic. `Config` 🎓, ⚒ 🔢 `orm_mode = True`. === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="15 19-20 31 36-37"
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) -
docs/en/docs/tutorial/sql-databases.md
### Use Pydantic's `orm_mode` Now, in the Pydantic *models* for reading, `Item` and `User`, add an internal `Config` class. This <a href="https://docs.pydantic.dev/latest/api/config/" class="external-link" target="_blank">`Config`</a> class is used to provide configurations to Pydantic. In the `Config` class, set the attribute `orm_mode = True`. === "Python 3.10+" ```Python hl_lines="13 17-18 29 34-35"
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)