toloka.client.TolokaClient.patch_pool
| Source code
Changes pool parameters in Toloka.
If a parameter is not specified in the patch_pool
method, then it is left unchanged in Toloka.
Parameters | Type | Description |
---|---|---|
pool_id | str | The ID of the pool to be changed. |
priority | Optional[int] | The new priority of the pool. Possible values: from -100 to 100. |
Returns:
The pool with updated parameters.
Return type:
Examples:
Changing priority of a pool.
pool = toloka_client.patch_pool(pool_id='1080020', priority=100)
Last updated: August 28, 2023