document
superduper.base.document
Document
Document(self,
*args,
schema: Optional[ForwardRef('Schema')] = None,
db: Optional[ForwardRef('Datalayer')] = None,
**kwargs)
| Parameter | Description |
|---|---|
| args | *args for dict |
| schema | The schema to use. |
| db | The datalayer to use. |
| kwargs | **kwargs for dict |
A wrapper around a dict including a schema and encoding.
The document data is used to dump that resource to
a mix of json-able content, ids and bytes