bayesline.apiclient.AsyncTasksClient#

class bayesline.apiclient.AsyncTasksClient(client: AsyncApiClient) None#

Bases: AsyncTasksApi

Methods

__init__(client)

get_task_progress(task_id)

Get the progress of a task if it exists.

__init__(client: AsyncApiClient) None#
async get_task_progress(task_id: str) TaskProgress#

Get the progress of a task if it exists.

Parameters#

task_id: str

The ID of the task.

Raises#

KeyError

If the task does not exist.

Returns#

TaskProgress

The progress of the task.