bayesline.api.TasksApi

bayesline.api.TasksApi#

class bayesline.api.TasksApi#

Bases: ABC

Methods

__init__()

get_task_progress(task_id)

Get the progress of a task if it exists.

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