close_pool_for_update

toloka.client.TolokaClient.close_pool_for_update | Source code

close_pool_for_update(self, pool_id: str)

Closes a pool that is to be updated.

To make changes to a pool, close it before updating parameters. If you don't open the pool after updating, it opens automatically in 15 minutes.

Parameters description

ParametersTypeDescription
pool_idstr

The ID of the pool to be closed.

  • Returns:

    The pool with updated status.

  • Return type:

    Pool

Examples:

toloka_client.close_pool_for_update(pool_id='1080020')

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