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

ParametersTypeDescription
operation_idstr

ID of the operation.

Examples:

op = toloka_client.get_operation(operation_id='1')
Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming