nadia.schema module¶
Base schema used by Nadia.
-
class
nadia.schema.
NadiaSchema
(only=None, exclude=(), prefix='', many=False, context=None, load_only=(), dump_only=(), partial=False)¶ Bases:
marshmallow.schema.Schema
Base marshmallow schema used by Nadia.
-
check_unknown_fields
(_data, original_data)¶ Validator raising ValidationError if extra keys are provided.
This validator is taken from the the official recipe located at: http://marshmallow.readthedocs.io/en/latest/extending.html#validating-original-input-data
-
opts
= <marshmallow.schema.SchemaOpts object>¶
-