toloka.client.TolokaClient.open_training_async
| Source code
open_training_async(self, training_id: str)
Opens a training. Sends an asynchronous request to Toloka.
Tasks from opened trainings can be assigned to Tolokers.
Parameters | Type | Description |
---|---|---|
training_id | str | The ID of the training. |
Returns:
An object to track the progress of the operation.
If the training is already opened then None
is returned.
Return type:
Optional[TrainingOpenOperation]
Examples:
Opening a training.
open_op = toloka_client.open_training_async(training_id='1239110')toloka_client.wait_operation(open_op)
Last updated: August 28, 2023