hpcflow.sdk.core.enums.EARStatus#

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

Bases: _EARStatus, 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.

value

rich_repr

The rich representation of the value.

symbol

Symbol to use when rendering a status.

colour

Colour to use when rendering a status.

aborted = 5#

Aborted by the user; downstream actions will be attempted.

colour: str#

Colour to use when rendering a status.

error = 7#

Probably failed.

classmethod get_non_running_submitted_states()#

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

Return type:

frozenset[hpcflow.sdk.core.enums.EARStatus]

pending = 0#

Not yet associated with a submission.

prepared = 1#

Associated with a prepared submission that is not yet submitted.

property rich_repr: str#

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.

symbol: str#

Symbol to use when rendering a status.

property value: int#