Operation
class yandex_cloud_ml_sdk._types.operation.AsyncOperation
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
async wait(*, timeout=60, poll_timeout=None, poll_interval=None)
|
Parameters |
|
|
Return type |
class yandex_cloud_ml_sdk._types.operation.Operation
cancel(*, timeout=60)
|
Parameters |
timeout (float |
|
Return type |
None |
get_result(*, timeout=60)
|
Parameters |
timeout (float |
|
Return type |
get_status(*, timeout=60)
|
Parameters |
timeout (float |
|
Return type |
property id
wait(*, timeout=60, poll_timeout=None, poll_interval=None)
|
Parameters |
|
|
Return type |
class yandex_cloud_ml_sdk._types.operation.OperationStatus
OperationStatus(done: ‘bool’, error: ‘OperationErrorInfo | None’, response: ‘Any | None’, metadata: ‘Any | None’)
done: bool
error: OperationErrorInfo | None
property is_running: bool
Check if operation execution is still in progress.
property is_succeeded: bool
Check if operation execution completed successfully.
property is_failed: bool
Check if operation execution failed.
property is_finished: bool
Check if operation execution finished.
property status_name: str
Get operation execution status name.
class yandex_cloud_ml_sdk._types.operation.OperationErrorInfo
OperationErrorInfo(code: ‘int’, message: ‘str’, details: ‘Iterable[str] | None’)
code: int
message: str