kkrunner.RunState

class kkrunner.RunState(*values)[source]

Bases: str, Enum

Single authoritative lifecycle state of one calculation run.

NEW = 'new'
SUBMITTING = 'submitting'
QUEUED = 'queued'
RUNNING = 'running'
DOWNLOADING = 'downloading'
POSTPROCESSING = 'postprocessing'
FINISHED = 'finished'
FAILED = 'failed'
CANCELLED = 'cancelled'
UNKNOWN = 'unknown'
property is_terminal

Whether this run is finished, failed or cancelled (not UNKNOWN).