class S(Schema): name = fields.String(required=True) active = fields.Boolean() sub = fields.Schema(Sub, whitelist=['hello'])
class B(Schema): b = fields.String()
class ABC(Schema): __schema_include__ = [base_fields] c = fields.String()
class S(Schema): name = fields.String(default=make_name, output_missing=True)
class S(Schema): name = fields.String(required=True) age = fields.Integer(required=True)
class S(Schema): name = fields.String(validators=[validate_mark, is_integer])
class S(Schema): class Meta: options = SchemaOptions(output_missing=True) name = fields.String(name='first_name')
class S(Schema): first_name = fields.String(default='first') last_name = fields.String(default='last')
class Person(Schema): name = fields.String(allow_empty=True) age = fields.Integer()
class S(Schema): name = fields.Child(fields.String(name='title'), path='b.c', load='a')
class S(Schema): first_name = fields.String(load='first') last_name = fields.String()
class S(Schema): name = fields.Child(fields.String(name='title'), load='nest') name2 = fields.Child(fields.String(name='title2'), load='nest')
class ABC(Schema): a = fields.String(tags=['a', 'ab', 'all']) b = fields.String(tags=['ab', 'all']) c = fields.String(tags=['all'])
class ABC(Schema): a = fields.String() abc = fields.SelfReference(whitelist=['a'], exclude=['a'])
class S(Schema): name = fields.String(post_validate=[validate_mark])
class Parent(Person): name = fields.String(allow_empty=False) child = fields.Schema(Person)
class S(Schema): name = fields.String(post_validate=[validate_mark, is_integer])
class Person(Schema): name = fields.String() age = fields.Integer()
class S(Schema): name = fields.String(name='first_name')
class Father(Parent): sex = fields.String(default='male', output_missing=True)
class S(Schema): name = fields.String(load='testing', name='first_name')
class S(Schema): name = fields.String(required=True)
class S(Schema): first_name = fields.String(pre_validate=[not_fiona]) last_name = fields.String()
class S(Schema): name = fields.String()
class S(Schema): first_name = fields.String(post_deserialize=[capitilize]) last_name = fields.String()
class S(Schema): class Meta: options = SchemaOptions(allow_none=True) name = fields.String()
class C(Schema): c = fields.String()
class S(Schema): __schema_options__ = SchemaOptions(raise_errors=False) name = fields.String(required=True)
class A(Schema): a = fields.String()
class Sub(Schema): hello = fields.String(required=True) world = fields.String(required=True)