Код: Выделить всё
class User(Schema):
name = fields.Str(required=True)
email = fields.Str(required=True)
Код: Выделить всё
class UserIHavePhoneNumberFor(User):
phone = fields.Str(required=True)
# Don't Care about Email because I can pester them via phone!
Помощь?
Спасибо!< /п>
Подробнее здесь: https://stackoverflow.com/questions/654 ... d-property