JobStatusCode

class tracdap.metadata.JobStatusCode

Bases: enum.Enum

Indicate the status of a job in the TRAC platform

CANCELLED = 10

The job was cancelled by a user of the platform

FAILED = 9

The job failed and has been terminated or rejected

FINISHING = 7

Job execution completed, the platform is cleaning up and validating the outputs

JOB_STATUS_CODE_NOT_SET = 0
PENDING = 3

The job is being set up

PREPARING = 1

The job is being set up

QUEUED = 4

The job is queued in TRAC, waiting for available resources

RUNNING = 6

The job is currently running

SUBMITTED = 5

The job has been submitted for execution but has not yet started

SUCCEEDED = 8

The job completed successfully and the results are available

VALIDATED = 2

The job has passed validation and is ok to run (dry-run operations may return this status)