hpcflow.sdk.core.actions.EARStatus#

class hpcflow.sdk.core.actions.EARStatus(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: Enum

Enumeration of all possible EAR statuses, and their associated status colour.

Methods

get_non_running_submitted_states

Return the set of all non-running states, excluding those before submission.

Attributes

pending

Not yet associated with a submission.

prepared

Associated with a prepared submission that is not yet submitted.

submitted

Submitted for execution.

running

Executing now.

skipped

Not attempted due to a failure of an upstream action on which this depends, or a loop termination condition being satisfied.

aborted

Aborted by the user; downstream actions will be attempted.

success

Probably exited successfully.

error

Probably failed.

rich_repr

The rich representation of the value.

aborted = 5#

Aborted by the user; downstream actions will be attempted.

error = 7#

Probably failed.

classmethod get_non_running_submitted_states()#

Return the set of all non-running states, excluding those before submission.

pending = 0#

Not yet associated with a submission.

prepared = 1#

Associated with a prepared submission that is not yet submitted.

property rich_repr#

The rich representation of the value.

running = 3#

Executing now.

skipped = 4#

Not attempted due to a failure of an upstream action on which this depends, or a loop termination condition being satisfied.

submitted = 2#

Submitted for execution.

success = 6#

Probably exited successfully.