bayesline.apiclient.TasksClient.get_task_progress

bayesline.apiclient.TasksClient.get_task_progress#

TasksClient.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.