5
fastapi+pydantic+sqlalchemy 如何返回列表数据?
source link: https://www.v2ex.com/t/822594
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
- pydantic 可以格式化 ORM 模型,但是如何能返回列表类型
- [Model,Model,Model] 这种格式如何通过 pydantic 验证
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK