摘要: 问题分析 即假如需要返回的是: { "isStar": ture } 在python中一般不使用isStar这种命名方式, 所以我们需要使用别名定义模型: class TestModel(BaseCategoryModel): is_star: bool = Field(..., alias="is 阅读全文
posted @ 2022-02-17 14:32 403·Forbidden 阅读(315) 评论(0) 推荐(0) 编辑