superduper
superduper copied to clipboard
Refactor the MetadataStore Base Class
trafficstars
Implement all functionality-specific functions for SuperDuperDB in the base MetadataStore.
- delete_parent_child
- create_component
- create_job
- create_parent_child
- get_job
- update_job
- show_components ....
For all subclasses, unless customized operations are needed, only the four basic functions of create, read, update, and delete will need to be implemented.
def _create(self, table, data): ...
def _read(self, table, filter): ...
def _updated(self, table, filter, new_data):
def _delete(self, table, delete):