bayesline.apiclient.LazyFrameTaskClient#
- class bayesline.apiclient.LazyFrameTaskClient(client: ApiClient, task_id: str, tqdm_progress: bool = False, exc_types: list[Type] | None = None, out_path: Path | None = None) None#
- __init__(client: ApiClient, task_id: str, tqdm_progress: bool = False, exc_types: list[Type] | None = None, out_path: Path | None = None) None#
Methods
__init__(client, task_id[, tqdm_progress, ...])cancel()Cancel the task.
get_progress()Get the current progress status of the task.
Get the result of the completed task.
is_ready()Check if the task has completed and the result is ready.
raise_for_status(response)wait_ready([timeout, check_interval])Wait for the task to be ready.
wait_result([timeout, check_interval])Wait for the task to complete and return its result.
Attributes
task_idThe unique identifier for this task.