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