hpcflow.sdk.monitoring.models.ActionSummary#

class hpcflow.sdk.monitoring.models.ActionSummary(counts=<factory>, groups=<factory>, display_counts=None, observed_at='', complete=False, started_at='', finished_at='', without_loop_skipped=None, cache_error=None)#

Bases: object

Compact action counts, grouped patterns, and timing observations for one part.

counts preserve engine states; optional display_counts distinguish skip reasons and explicitly scheduler-derived observations. without_loop_skipped provides a prepared visibility view rather than requiring renderers to reread runs. cache_error reports persistence failures without discarding the observation.

Methods

from_json

Decode grouped counts and the optional nested summary excluding loop-skipped runs.

Attributes

Parameters:
cache_error: str | None#
complete: bool#
counts: dict[str, int]#
display_counts: dict[str, int] | None#
finished_at: str#
classmethod from_json(data)#

Decode grouped counts and the optional nested summary excluding loop-skipped runs.

Parameters:

data (dict)

Return type:

ActionSummary

groups: list[ElementGroup]#
observed_at: str#
started_at: str#
without_loop_skipped: ActionSummary | None#