hpcflow.sdk.persistence.zarr.ZarrStoreElement#
- class hpcflow.sdk.persistence.zarr.ZarrStoreElement(id_: 'int', is_pending: 'bool', index: 'int', es_idx: 'int', seq_idx: 'Dict[str, int]', src_idx: 'Dict[str, int]', task_ID: 'int', iteration_IDs: 'List[int]')#
Bases:
StoreElement
Methods
Return a copy, with additional iteration IDs.
Initialise a StoreElement from persistent element data
Prepare store elements data for the persistent store.
Prepare data for the user-facing Element object.
Attributes
- Parameters:
- append_iteration_IDs(pend_IDs)#
Return a copy, with additional iteration IDs.
- classmethod decode(elem_dat, attrs)#
Initialise a StoreElement from persistent element data
- Parameters:
- Return type:
- encode(attrs)#
Prepare store elements data for the persistent store.
This method mutates attrs.
- to_dict(iters)#
Prepare data for the user-facing Element object.