Status#

class maize.core.runtime.Status(value)[source]#

Bases: StrEnum

Component run status.

__init__()#

Attributes

NOT_READY

Not ready / not initialized

READY

Ready to run

RUNNING

Currently running with no IO interaction

COMPLETED

Successfully completed everything

FAILED

Failed via exception

STOPPED

Stopped because channels closed, or other components completed

WAITING_FOR_INPUT

Waiting for task input

WAITING_FOR_OUTPUT

Waiting for task output (backpressure due to full queue)

WAITING_FOR_RESOURCES

Waiting for compute resources (blocked by semaphore)

WAITING_FOR_COMMAND

Waiting for an external command to complete

COMPLETED#

Successfully completed everything

FAILED#

Failed via exception

NOT_READY#

Not ready / not initialized

READY#

Ready to run

RUNNING#

Currently running with no IO interaction

STOPPED#

Stopped because channels closed, or other components completed

WAITING_FOR_COMMAND#

Waiting for an external command to complete

WAITING_FOR_INPUT#

Waiting for task input

WAITING_FOR_OUTPUT#

Waiting for task output (backpressure due to full queue)

WAITING_FOR_RESOURCES#

Waiting for compute resources (blocked by semaphore)