Skip to main content
Create a direct runner from a reusable Runner definition and a Tilebox workflows client. The returned TaskRunner connects to the Tilebox API, advertises the task registrations from the Runner definition, and executes matching tasks from the selected cluster.

Parameters

Client
Tilebox workflows client used by the direct runner.
str | None
The cluster slug for the runner. If not provided, the default cluster is used.

Example

Python