patch_pool
toloka.client.TolokaClient.patch_pool
Changes the priority of the pool issue
Parameters Description
Parameters | Type | Description |
---|---|---|
pool_id |
str | ID of the pool that will be patched. |
priority |
Optional[int] | The priority of the pool in relation to other pools in the project with the same task price and set of filters. Users are assigned tasks with a higher priority first. Possible values: from -100 to 100. |
-
Returns:
Object with updated priority.
-
Return type:
Examples:
Set the highest priority to a specified pool.
toloka_client.patch_pool(pool_id='1', priority=100)