- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for can (2.85 sec)
-
docs/en/docs/advanced/dataclasses.md
!!! 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` You can also use `dataclasses` in the `response_model` parameter:
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) -
docs/em/docs/advanced/dataclasses.md
4ī¸âŖ. `Author` đģ âī¸ `response_model` đĸ. 5ī¸âŖ. đ đĒ âī¸ đ đŠ đ â âŽī¸ đģ đ¨ đĒ. đ đŧ, âĢī¸ đ `Item` đģ. 6ī¸âŖ. đĨ đĨ đŦ đ đ đ `items` â đ đģ. FastAPI đ¯ <abbr title="converting the data to a format that can be transmitted">â</abbr> đŊ đģ. 7ī¸âŖ. đĨ `response_model` âī¸ đ â đ `Author` đģ. đ, đ đĒ đ `dataclasses` âŽī¸ đŠ đ â. 8ī¸âŖ. đ đ đ *⥠đ ī¸ đĸ* âī¸ đĨ `def` âŠī¸ `async def`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 3.5K bytes - Viewed (0)