clone_pool_async

toloka.client.TolokaClient.clone_pool_async | Source code

clone_pool_async(self, pool_id: str)

Clones an existing pool. Sends an asynchronous request to Toloka.

An empty pool with the same parameters is created. The new pool is attached to the same project.

Parameters description

ParametersTypeDescription
pool_idstr

The ID of the pool to be cloned.

  • Returns:

    An object to track the progress of the operation.

  • Return type:

    PoolCloneOperation

Examples:

clone_op = toloka_client.clone_pool_async(pool_id='1080020')
toloka_client.wait_operation(clone_op)

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