hpcflow.sdk.monitoring.models.ActionRunState#

class hpcflow.sdk.monitoring.models.ActionRunState(task, task_name, element, iteration, action, attempt, state, started_at='', finished_at='', skip_reason=None, display_state=None)#

Bases: object

A run’s engine state and its position in the task/element/iteration layout.

Methods

from_json

Decode cached run coordinates, engine status, timestamps, and optional skip reason.

Attributes

Parameters:
action: int#
attempt: int#
display_state: str | None#
element: int#
finished_at: str#
classmethod from_json(data)#

Decode cached run coordinates, engine status, timestamps, and optional skip reason.

Parameters:

data (dict)

Return type:

ActionRunState

iteration: int#
skip_reason: SkipReason | None#
started_at: str#
state: EARStatus#
task: int#
task_name: str#