Toloka documentation

update_pool

toloka.client.TolokaClient.update_pool | Source code

update_pool(
    self,
    pool_id: str,
    pool: Pool
)

Makes changes to the pool

Parameters Description

Parameters Type Description
pool_id str

ID of the pool that will be changed.

pool Pool

A pool object with all the fields: those that will be updated and those that will not.

  • Returns:

    Pool object with all fields.

  • Return type:

    Pool

Examples:

updated_pool = toloka_client.update_pool(pool_id=old_pool_id, pool=new_pool_object)