Create a new Task based in a base_task_id with a different set of parameters
base_task_id (str) – Base task id to clone from.
parameter_override (dict) – Dictionary of parameters and values to set fo the cloned task.
task_overrides (dict) – Task object specific overrides.
tags (list) – Additional tags to add to the newly cloned task.
parent (str) – Set newly created Task parent task field, default: base_tak_id.
kwargs (dict) – Additional Task creation parameters.
Abort currently running job (can be called multiple times)
Return the time in seconds since job started. Return -1 if job is still pending
Seconds from start.
Return a list of console outputs reported by the Task. Returned console outputs are retrieved from the most updated console outputs.
number_of_reports (int) – The number of reports to return, default
1, the last (most updated) console
List of strings each entry corresponds to one report.
Retrieve a specific scalar metric from the running Task.
title (str) – Graph title (metric)
series (str) – Series on the specific graph (variant)
A tuple of min value, max value, last value
Return True, if job is has executed and aborted.
True the task is currently in aborted state
Return True, if job is has executed and completed successfully.
True the task is currently in completed or published state
True, if job is has executed and failed.
True the task is currently in failed state
True, if job is waiting for execution.
True the task is currently is currently queued.
True, if job is currently running (pending is considered False).
True, if the task is currently in progress.
True, if job is has executed and is not any more.
True the task is currently one of these states, stopped / completed / failed / published.
Task last iteration.
Send Job for execution on the requested execution queue
queue_name (str) –
True, if job already started, or ended. False, if created/pending.
False, if the task is currently in draft mode or pending.
Return the Job Task current status, see Task.TaskStatusEnum
Task status Task.TaskStatusEnum in string.
Return the Task id.
The Task ID.
Wait until the task is fully executed (i.e., aborted/completed/failed)
timeout – The maximum time (minutes) to wait for Task to finish.
pool_period – Check task status every pool_period seconds.
True, if Task finished.
Return the current worker id executing this Job. If job is pending, returns None.
ID of the worker executing / executed the job, or None if job is still pending.