hpcflow.sdk.monitoring.active_runs.RunActivity#

class hpcflow.sdk.monitoring.active_runs.RunActivity(run_ids, positions, cursor, active, plan_id)#

Bases: object

An item’s ordered plan and last-started position, retained between actions.

Methods

is_future

Only an ID explicitly after the cursor has not yet been reached.

Attributes

Parameters:
active: int | None#
cursor: int#
is_future(run_id)#

Only an ID explicitly after the cursor has not yet been reached.

Parameters:

run_id (int)

Return type:

bool

plan_id: str#
positions: dict[int, int]#
run_ids: tuple[int, ...]#