patch_pool

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 description

ParametersTypeDescription
pool_idstr

The ID of the pool to be changed.

priorityOptional[int]

The new priority of the pool. Possible values: from -100 to 100.

  • Returns:

    The pool with updated parameters.

  • Return type:

    Pool

Examples:

Changing priority of a pool.

pool = toloka_client.patch_pool(pool_id='1080020', priority=100)

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming