Field(required=False)
load_from
parameter you can specify where to load this field from or even load two different fields from the same key.ValidationError
must be raised to notify the schema that this field is invalid, returning values are ignored.There is a special attribute calledstrict
to allow this field to cast integers and similar types to a string instead of raising an error.