hpcflow.sdk.persistence.zarr.ZarrStoreTask#
- class hpcflow.sdk.persistence.zarr.ZarrStoreTask(id_, index, is_pending, element_IDs, task_template=None)#
-
Represents a task in a Zarr persistent store.
Methods
Return a copy, with additional element IDs.
Initialise a StoreTask from persistent task data
Prepare store task data for the persistent store.
Attributes
Description of the template for the task.
The ID of the task.
The index of the task within its workflow.
Whether the task has changes not yet persisted.
The IDs of elements in the task.
- Parameters:
- append_element_IDs(pend_IDs)#
Return a copy, with additional element IDs.
- classmethod decode(task_dat)#
Initialise a StoreTask from persistent task data
- Parameters:
task_dat (dict) –
- Return type:
Self
- encode()#
Prepare store task data for the persistent store.