hpcflow.sdk.submission.enums.JobscriptElementState#

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

Bases: _JES, Enum

Enumeration to convey a particular jobscript element state as reported by the scheduler.

Methods

Attributes

pending

Waiting for resource allocation.

waiting

Waiting for one or more dependencies to finish.

running

Executing now.

finished

Previously submitted but is no longer active.

cancelled

Cancelled by the user.

errored

The scheduler reports an error state.

value

The numerical value of this state.

rich_repr

Rich representation of this enumeration element.

symbol

The symbol used to render the state.

colour

The colour used to render the state.

cancelled = 4#

Cancelled by the user.

colour: str#

The colour used to render the state.

errored = 5#

The scheduler reports an error state.

finished = 3#

Previously submitted but is no longer active.

pending = 0#

Waiting for resource allocation.

property rich_repr: str#

Rich representation of this enumeration element.

running = 2#

Executing now.

symbol: str#

The symbol used to render the state.

property value: int#

The numerical value of this state.

waiting = 1#

Waiting for one or more dependencies to finish.