Batch domain
class yandex_cloud_ml_sdk._batch.domain.AsyncBatch
Сlass for managing batch operations in Yandex Cloud ML SDK.
For usage examples see batch example
async get(task, *, timeout=60)
Get batch task operation by ID or by BatchTaskInfo object.
|
Parameters |
|
|
Return type |
async list_operations(*, page_size=Undefined, status=Undefined, timeout=60)
List batch task operations with optional filtering.
|
Parameters |
|
|
Return type |
async list_info(*, page_size=Undefined, status=Undefined, timeout=60)
List batch task information with optional filtering.
|
Parameters |
|
|
Return type |
class yandex_cloud_ml_sdk._types.batch.operation.AsyncBatchTaskOperation
async delete(*, timeout=60)
Delete batch task from tasks history.
|
Parameters |
timeout (float |
|
Return type |
None |
async get_task_info(*, timeout=60)
Get detailed batch task info.
|
Parameters |
timeout (float |
|
Returns |
task info object with a lot of info fields. |
|
Return type |
async cancel(*, timeout=60)
|
Parameters |
timeout (float |
|
Return type |
None |
async get_result(*, timeout=60)
|
Parameters |
timeout (float |
|
Return type |
async get_status(*, timeout=60)
|
Parameters |
timeout (float |
|
Return type |
property id: str
property task_id: str
async wait(*, timeout=60, poll_timeout=None, poll_interval=None)
|
Parameters |
|
|
Return type |