patch_task_suite

toloka.client.TolokaClient.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:

Change the task suite's priority.

toloka_client.patch_task_suite(task_suite_id='1', issuing_order_override=100)
Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming