server.web.models.task_status

Task Instance Status Database table.

Classes

TaskStatus

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

Functions

add_task_statuses(→ None)

Populate the task_status table in the database.

Module Contents

class server.web.models.task_status.TaskStatus[source]

Bases: jobmon.server.web.models.Base

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

__tablename__ = 'task_status'[source]
REGISTERING = 'G'[source]
QUEUED = 'Q'[source]
INSTANTIATING = 'I'[source]
LAUNCHED = 'O'[source]
RUNNING = 'R'[source]
ERROR_RECOVERABLE = 'E'[source]
ADJUSTING_RESOURCES = 'A'[source]
ERROR_FATAL = 'F'[source]
DONE = 'D'[source]
id[source]
label[source]
description[source]
server.web.models.task_status.add_task_statuses(session: sqlalchemy.orm.Session) None[source]

Populate the task_status table in the database.