From a client instance you can create a TaskRunner, capable of executing tasks.

Parameters

cluster
str

The cluster slug of the cluster that this task runner belongs to.

tasks
list[type[Task]]

A list of task classes that this runner is capable of executing.

cache
JobCache

An optional job cache to use for caching intermediate task results and passing data between tasks.