budosystems.storage.dict_repository.DictRepository¶
- class DictRepository¶
Bases:
Repository
Dictionary-based Repository
- __init__() None ¶
Abstract initializer that accepts arbitrary keyword arguments.
Implementations should specify more precisely those it needs.
- Parameters:
kwargs – Keyword arguments used for initializing the repository.
- save(entity: Entity, save_option: SaveOption = SaveOption.create_or_update) None ¶
See
Repository.save
- delete(entity_type: type[ET], entity_id: UUID, must_exist: bool = False) None ¶
See
Repository.delete
- find_entities(query: Query) list[budosystems.models.core.Entity] ¶
See
Repository.find_entities