hpcflow.sdk.persistence.zarr.ZarrStoreEAR#
- class hpcflow.sdk.persistence.zarr.ZarrStoreEAR(id_: 'int', is_pending: 'bool', elem_iter_ID: 'int', action_idx: 'int', data_idx: 'Dict[str, int]', submission_idx: 'Optional[int]' = None, skip: 'Optional[bool]' = False, success: 'Optional[bool]' = None, start_time: 'Optional[datetime]' = None, end_time: 'Optional[datetime]' = None, snapshot_start: 'Optional[Dict]' = None, snapshot_end: 'Optional[Dict]' = None, exit_code: 'Optional[int]' = None, metadata: 'Dict[str, Any]' = None)#
Bases:
StoreEAR
Methods
Initialise a ZarrStoreEAR from persistent EAR data
Prepare store EAR data for the persistent store.
Prepare data for the user-facing ElementActionRun object.
Return a shallow copy, with specified data updated.
Attributes
- Parameters:
- classmethod decode(EAR_dat, attrs, ts_fmt)#
Initialise a ZarrStoreEAR from persistent EAR data
- Parameters:
- Return type:
- encode(attrs, ts_fmt)#
Prepare store EAR data for the persistent store.
This method mutates attrs.
- update(submission_idx=None, skip=None, success=None, start_time=None, end_time=None, snapshot_start=None, snapshot_end=None, exit_code=None)#
Return a shallow copy, with specified data updated.