from tilebox.workflows import Client# read token from an environment variableclient = Client()# or provide connection details directlyclient = Client( url="https://api.tilebox.com", token="YOUR_TILEBOX_API_KEY")# access sub clientsjob_client = client.jobs()cluster_client = client.clusters()automation_client = client.automations()# or instantiate a task runnerrunner = client.runner(tasks=[...])
tilebox.workflows
Client
Copy
Ask AI
from tilebox.workflows import Client# read token from an environment variableclient = Client()# or provide connection details directlyclient = Client( url="https://api.tilebox.com", token="YOUR_TILEBOX_API_KEY")# access sub clientsjob_client = client.jobs()cluster_client = client.clusters()automation_client = client.automations()# or instantiate a task runnerrunner = client.runner(tasks=[...])
A client is also used to instantiate task runners. Check out the Client.runner API reference for more information.
Copy
Ask AI
from tilebox.workflows import Client# read token from an environment variableclient = Client()# or provide connection details directlyclient = Client( url="https://api.tilebox.com", token="YOUR_TILEBOX_API_KEY")# access sub clientsjob_client = client.jobs()cluster_client = client.clusters()automation_client = client.automations()# or instantiate a task runnerrunner = client.runner(tasks=[...])