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

Bases: jobmon.server.web.models.Base

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

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

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