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[source]
QUEUED[source]
INSTANTIATING[source]
LAUNCHED[source]
RUNNING[source]
ERROR_RECOVERABLE[source]
ADJUSTING_RESOURCES[source]
ERROR_FATAL[source]
DONE[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.