Module licenseware.common.serializers.wild_schema
Expand source code
from marshmallow import Schema, INCLUDE
class WildSchema(Schema):
"""
This schema is used when we are moving data already validated
"""
class Meta:
unknown = INCLUDE
Classes
class WildSchema (*, only: Union[Sequence[str], Set[str], None] = None, exclude: Union[Sequence[str], Set[str]] = (), many: bool = False, context: Optional[Dict[~KT, ~VT]] = None, load_only: Union[Sequence[str], Set[str]] = (), dump_only: Union[Sequence[str], Set[str]] = (), partial: Union[bool, Sequence[str], Set[str]] = False, unknown: Optional[str] = None)
-
This schema is used when we are moving data already validated
Expand source code
class WildSchema(Schema): """ This schema is used when we are moving data already validated """ class Meta: unknown = INCLUDE
Ancestors
- marshmallow.schema.Schema
- marshmallow.base.SchemaABC
Class variables
var Meta
var opts