Skip to content

Sync helpers

sync

Synchronous facade over the async Client, for scripts and Jupyter.

SyncWorkflowHandle

SyncWorkflowHandle(async_handle)

Blocking wrapper around an async workflow handle.

SyncScheduleHandle

SyncScheduleHandle(async_handle)

Blocking wrapper around an async schedule handle.

Client

Client(base_url, *, token=None, control_token=None, worker_token=None, namespace='default', timeout=60.0, retry_policy=None, metrics=None)

Blocking wrapper around the async client.

Each call opens and closes its own event loop, so this facade is best for scripts, notebooks, and command-line tools rather than high-throughput services.