- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Knight (0.15 sec)
-
docs/en/docs/advanced/dataclasses.md
This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic. !!! info Keep in mind that dataclasses can't do everything Pydantic models can do. So, you might still need to use Pydantic models. But if you have a bunch of dataclasses laying around, this is a nice trick to use them to power a web API using FastAPI. 🤓 ## Dataclasses in `response_model`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 4.1K bytes - Viewed (0)