- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Reconfig (0.23 sec)
-
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)