bayesline.apiclient.TasksClient

bayesline.apiclient.TasksClient#

class bayesline.apiclient.TasksClient(client: ApiClient) None#

Bases: TasksApi

Methods

__init__(client)

get_task_progress(task_id)

Get the progress of a task if it exists.

__init__(client: ApiClient) None#
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.