Managers
- class deker.managers.ArrayManager(collection, array_adapter)
Bases:
SelfLoggerMixin
,DataManager
Manager for Arrays.
- Parameters
collection (Collection) –
array_adapter (BaseArrayAdapter) –
- class deker.managers.DataManager(collection, array_adapter, varray_adapter=None)
Bases:
BaseManager
Common data manager.
Its behavior depends on the type of Collection (Array/Varrary)
- Parameters
collection (Collection) –
array_adapter (BaseArrayAdapter) –
varray_adapter (Optional[BaseVArrayAdapter]) –
- class deker.managers.FilteredManager(collection, array_adapter, varray_adapter, schema, filters)
Bases:
SelfLoggerMixin
,BaseAbstractManager
Manager for
Collection
contents filtering.- Parameters
collection (Collection) –
array_adapter (BaseArrayAdapter) –
varray_adapter (BaseVArrayAdapter) –
schema (BaseArraysSchema) –
filters (dict) –
- class deker.managers.VArrayManager(collection, array_adapter, varray_adapter)
Bases:
SelfLoggerMixin
,DataManager
Manager for VArrays.
- Parameters
collection (Collection) –
array_adapter (BaseArrayAdapter) –
varray_adapter (BaseVArrayAdapter) –
- create(primary_attributes=None, custom_attributes=None, id_=None)
Create varray in collection.
- Parameters
primary_attributes (Optional[dict]) – VArray primary attributes
custom_attributes (Optional[dict]) – VArray custom attributes
id – VArray unique UUID string
id_ (Optional[str]) –
- Return type