摘要: from pydantic import BaseModel class ModelTypeError(Exception): pass class ModelAttrError(Exception): pass class MyBaseModel(BaseModel): """ 带类型和只读属性拦 阅读全文
posted @ 2021-01-19 20:48 Onsunsl 阅读(817) 评论(0) 推荐(0) 编辑