创建继承自marshmallow.fields.Field类的子类并实现_serialize和/或_deserialize方法: from marshmallow import fields, Schema class Titlecased(fields.
確定! 回上一頁