hpcflow.sdk.monitoring.models.TerminalStateCache#
- class hpcflow.sdk.monitoring.models.TerminalStateCache(workflow_id, submission_index, terminal_states=<factory>, observed_at='', schema_version=1)#
Bases:
objectTerminal 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:
- terminal_states: dict[int, ActionRunState]#