class Client( *, url: str = "https://api.tilebox.com", token: str | None = None, name: str | None = None, client_id: UUID | None = None, transport: Literal["grpc", "http1"] = "grpc",)Create a Tilebox workflows client.
Parameters
Section titled “Parameters”url str Tilebox API Url. Defaults to https://api.tilebox.com.
token str | None The API key to authenticate with. If not set, the TILEBOX_API_KEY environment variable is used.
name str | None Optional service name for workflow telemetry. If not set, the default service name is used.
client_id UUID | None Optional stable ID used to scope internal loggers. If not set, a random ID is generated.
transport Literal["grpc", "http1"] Network transport to use for API requests. Defaults to "grpc". Use "http1" to force the Connect protocol over HTTP/1.1 on networks that do not support gRPC over HTTP/2 correctly.
Sub clients
Section titled “Sub clients”The workflows client exposes sub clients for interacting with different parts of the Tilebox workflows API.
def Client.jobs() -> JobClientA client for interacting with jobs.
def Client.clusters() -> ClusterClientA client for managing clusters.
def Client.workflows() -> WorkflowClientA client for managing workflows and workflow release deployments.
def Client.automations() -> AutomationClientA client for scheduling automations.
Logging
Section titled “Logging”def Client.configure_logging( level: int | logging.Logger, runner_level: int | None = None,) -> NoneConfigure which task and runner logs this client exports. See Client.configure_logging.
Runners
Section titled “Runners”def Client.runner(...) -> TaskRunnerA client is also used to instantiate runners. Check out the Client.runner API reference for more information.