EntityStore
- class app.portfolio.models.store.entity_store.EntityStore[source]
Bases:
MutableMapping
[Uid
,Entity
],LoggableHierarchicalMixin
Inheritance Diagram for EntityStore
Methods
__init__
(*args)generate_next_uid
(namespace, *[, increment])get_entity_log
(key)get_entity_record
(key)get_reachable_uids
(roots, *[, use_journal])get_string_uid_mapping
(namespace)get_unreachable_uids
(roots, *[, use_journal])reset
()update
(value, /)Attributes
- get_entity_log(key: Uid | Entity | EntityRecord) EntityLog | None [source]
- Parameters:
key (Uid | Entity | EntityRecord)
- Return type:
EntityLog | None
- get_entity_record(key: Uid | Entity) EntityRecord | None [source]
- Parameters:
- Return type:
EntityRecord | None
- static get_global_store() EntityStore [source]
- Return type:
- static get_global_store_or_none() EntityStore | None [source]
- Return type:
EntityStore | None
- get_string_uid_mapping(namespace: str) StringUidMapping [source]
- Parameters:
namespace (str)
- Return type: