toloka.client.TolokaClient.open_pool_async | Source code
open_pool_async(self, pool_id: str)Opens a pool. Sends an asynchronous request to Toloka.
After opening the pool, tasks can be assigned to Tolokers.
| Parameters | Type | Description |
|---|---|---|
pool_id | str | The ID of the pool. |
Returns:
An object to track the progress of the operation. If the pool is already opened then None is returned.
Return type:
Optional[PoolOpenOperation]
Examples:
Opening a pool.
open_op = toloka_client.open_pool(pool_id='1080020')toloka_client.wait_operation(open_op)Last updated: August 28, 2023