toloka.client.TolokaClient.archive_training
| Source code
archive_training(self, training_id: str)
Archives a training.
Only closed trainings can be archived.
You can access archived trainings later.
Parameters | Type | Description |
---|---|---|
training_id | str | The ID of the training to be archived. |
Returns:
The training with updated status.
Return type:
Examples:
closed_training = next(toloka_client.get_trainings(status='CLOSED'))toloka_client.archive_training(training_id=closed_training.id)
Last updated: August 28, 2023