hpcflow.sdk.monitoring.models.JobRecord#
- class hpcflow.sdk.monitoring.models.JobRecord(jobscript_index, scheduler_type='', os_name='', scheduler_args=<factory>, hostname='', machine=None, scheduler_reference=None, is_array=False, run_ids=<factory>, process_created_at=None, last_checked_at='', last_observed_state=<factory>, observation=None)#
Bases:
objectSaved scheduler context and reference for one successfully submitted jobscript.
Contain everything required to query or cancel without opening a workflow store.
run_idsassociate jobs with cached action states; observations and direct process creation time support later status checks and PID-reuse detection.Methods
Decode a saved job, converting legacy process-reference sequences to a model.
Attributes
- Parameters:
- classmethod from_json(data)#
Decode a saved job, converting legacy process-reference sequences to a model.
- observation: JobObservation | None#
- scheduler_reference: str | ProcessReference | None#