happyly.schemas.schema.Schema¶
-
class
happyly.schemas.schema.
Schema
(*args, **kwargs)¶ Bases:
marshmallow.schema.Schema
Marshmallow schema, which raises errors on mismatch (extra fields provided also raise exception).
Subclass it just like any marshmallow
Schema
to describe schema.Instantiation with no arguments is a good strict default, but you can pass any arguments valid for
marshmallow.Schema
opts
check_unknown_fields
(data, original_data)