toloka.client.TolokaClient.archive_pool
| Source code
archive_pool(self, pool_id: str)
Archives a pool.
Only closed pools can be archived.
You can't open archived pools, but you can clone them if needed.
Parameters | Type | Description |
---|---|---|
pool_id | str | The ID of the pool to be archived. |
Returns:
The pool with updated status.
Return type:
Examples:
closed_pool = next(toloka_client.get_pools(status='CLOSED'))toloka_client.archive_pool(pool_id=closed_pool.id)
Last updated: August 28, 2023