hpcflow.sdk.monitoring.run_filters.RunFilters#

class hpcflow.sdk.monitoring.run_filters.RunFilters(task_idx=None, task_id=None, names=None, element_idx=None, iteration_idx=None, action_idx=None, run_id=None, run_idx=None)#

Bases: object

AND coordinates together, with alternatives within each selection.

Methods

matches

Check coordinates before reading the run's state or execution metadata.

Attributes

Parameters:
action_idx: IndexSelection | None#
element_idx: IndexSelection | None#
iteration_idx: IndexSelection | None#
matches(run)#

Check coordinates before reading the run’s state or execution metadata.

Parameters:

run (ElementActionRun)

Return type:

bool

names: frozenset[str] | None#
run_id: IndexSelection | None#
run_idx: IndexSelection | None#
task_id: IndexSelection | None#
task_idx: IndexSelection | None#