server.web.models.task_instance_status

Task Instance Status Table.

Classes

TaskInstanceStatus

The table in the database that holds on the possible statuses for TaskInstance.

Functions

add_task_instance_statuses(→ None)

Populate the task_instance_status table in the database, in alphabetical order.

Module Contents

class server.web.models.task_instance_status.TaskInstanceStatus[source]

Bases: jobmon.server.web.models.Base

The table in the database that holds on the possible statuses for TaskInstance.

__tablename__ = 'task_instance_status'[source]
QUEUED = 'Q'[source]
INSTANTIATED = 'I'[source]
NO_DISTRIBUTOR_ID = 'W'[source]
LAUNCHED = 'O'[source]
RUNNING = 'R'[source]
TRIAGING = 'T'[source]
NO_HEARTBEAT = 'X'[source]
RESOURCE_ERROR = 'Z'[source]
UNKNOWN_ERROR = 'U'[source]
ERROR = 'E'[source]
DONE = 'D'[source]
KILL_SELF = 'K'[source]
ERROR_FATAL = 'F'[source]
id[source]
label[source]
description[source]
server.web.models.task_instance_status.add_task_instance_statuses(session: sqlalchemy.orm.Session) None[source]

Populate the task_instance_status table in the database, in alphabetical order.