使用pydantic进行反序列化和序列化时如何处理压缩问题
考虑以下名为 TableConfigs 的类的简单示例: 进口pydantic 从枚举导入枚举 类 TimeUnit(str, 枚举): 天=“天” 小时=“小时”