hpcflow.sdk.monitoring.models.TerminalStateCache#

class hpcflow.sdk.monitoring.models.TerminalStateCache(workflow_id, submission_index, terminal_states=<factory>, observed_at='', schema_version=1)#

Bases: object

Terminal action states shared by parts of one workflow submission.

Run IDs map to states that no longer need store lookups. Workflow/submission identity and schema version prevent reuse for another workflow at the same path. Active states are deliberately excluded from persistent terminal caches.

Methods

Attributes

Parameters:
observed_at: str#
schema_version: int#
submission_index: int#
terminal_states: dict[int, ActionRunState]#
workflow_id: str#