摘要: class MixToJson: def single_to_dict(self): return {c.name: getattr(self, c.name) for c in self.__table__.columns} def dobule_to_dict(self): result = { 阅读全文
posted @ 2020-07-13 17:53 John-Python 阅读(1572) 评论(0) 推荐(0) 编辑