patch_task_suite

toloka.async_client.client.AsyncTolokaClient.patch_task_suite | Source code

Changes task suite parameter values in Toloka.

Parameters description

ParametersTypeDescription
task_suite_idstr

The ID of the task suite.

issuing_order_overrideOptional[float]

The priority of a task suite. It influences the order of assigning task suites to Tolokers in pools with the issue_task_suites_in_creation_order parameter set to True. Allowed range: from -99999.99999 to 99999.99999.

Default value: 0.

open_poolOptional[bool]

Open the pool immediately after changing a task suite, if the pool is closed.

Default value: False.

  • Returns:

    The task suite with updated fields.

  • Return type:

    TaskSuite

Examples:

Changing the task suite's priority.

toloka_client.patch_task_suite(
task_suite_id='00001092da--61ef030400c684132d0da0dc',
issuing_order_override=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