StatusUpdate#

class maize.core.runtime.StatusUpdate(name: str, parents: tuple[str, ...], status: Status, run_time: timedelta = datetime.timedelta(0), full_time: timedelta = datetime.timedelta(0), n_inbound: int = 0, n_outbound: int = 0, note: str | None = None)[source]#

Bases: object

Summarizes the node status at completion of execution.

name#

Name of the node

Type:

str

parents#

Names of all parents

Type:

tuple[str, …]

status#

Node status at completion, will be one of (‘FAILED’, ‘STOPPED’, ‘COMPLETED’)

Type:

maize.core.runtime.Status

run_time#

Time spent in status ‘RUNNING’

Type:

datetime.timedelta

full_time#

Time spent for the full node execution, including ‘WAITING’ for others

Type:

datetime.timedelta

n_inbound#

Number of items waiting to be received

Type:

int

n_outbound#

Number of items waiting to be sent

Type:

int

note#

Additional message to be printed at completion

Type:

str | None

__init__(name: str, parents: tuple[str, ...], status: Status, run_time: timedelta = datetime.timedelta(0), full_time: timedelta = datetime.timedelta(0), n_inbound: int = 0, n_outbound: int = 0, note: str | None = None) None#

Methods

__init__(name, parents, status[, run_time, ...])

Attributes