Toloka documentation


toloka.client.TolokaClient.archive_training_async | Source code

archive_training_async(self, training_id: str)

Sends training to archive, asynchronous version

The training must be in the status "closed". The archived training is not deleted. You can access it when you will need it.

Parameters Description

Parameters Type Description
training_id str

ID of training that will be archived.

  • Returns:

    An operation upon completion of which you can get the training with updated status. If pool is already archived then None is returned.

  • Return type:



closed_training = next(toloka_client.find_trainings(status='CLOSED'))
archive_op = toloka_client.archive_training_async(