Extend Marshmallow Schema but Override Field Required Property

前端 未结 0 1843
一生所求
一生所求 2020-12-25 08:32

Noob question, but I have a simple schema:

class User(Schema):
    name = fields.Str(required=True)
    email = fields.Str(required=True)

And

相关标签:
回答
  • 消灭零回复
提交回复
热议问题