To execute a workflow, you first need to submit a job to the Tilebox API. This can be done by calling the submit method of a JobClient instance.

Parameters

job_name
str

A name for the job.

task
Task

A root task for the job. This task is executed first and can submit subtasks to orchestrate a whole workflow.

cluster
str

The cluster slug of the cluster to submit the job to.

max_retries
int

Specify the maximum number of retries for the subtask in case of failure. Defaults to 0.