当前位置: 首页 > 后端技术 > Python

将json和yaml转换成pydantic模型

时间:2023-03-26 00:50:51 Python

,可以使用这个库:datamodel-code-generator来帮我们完成繁琐的工作!