get_operation
toloka.client.TolokaClient.get_operation
| Source code
get_operation(self, operation_id: str)
Reads information about operation
All asynchronous actions in Toloka works via operations. If you have some "Operation" usually you need to use "wait_operation" method.
Parameters Description
Parameters | Type | Description |
---|---|---|
operation_id |
str | ID of the operation. |
-
Returns:
The operation.
-
Return type:
Examples:
op = toloka_client.get_operation(operation_id='1')