TaskSuiteCreateRequestParameters

toloka.client.task_suite.TaskSuiteCreateRequestParameters | Source code

TaskSuiteCreateRequestParameters(
self,
*,
operation_id: Optional[UUID] = ...,
skip_invalid_items: Optional[bool] = None,
allow_defaults: Optional[bool] = None,
open_pool: Optional[bool] = None,
async_mode: Optional[bool] = True
)

Parameters for creating task suites.

Parameters Description

ParametersTypeDescription
operation_idOptional[UUID]

The ID of the operation conforming to the RFC4122 standard. Use it if the async_mode is set to True.

skip_invalid_itemsOptional[bool]

Task suite validation option:

  • True — All valid task suites are added. If a task suite does not pass validation, then it is not added to Toloka.
  • False — If any task suite does not pass validation, then operation is cancelled and no task suites are added to Toloka.

Default value: False.

allow_defaultsOptional[bool]

Active overlap setting:

  • True — Use the overlap that is set in the defaults.default_overlap_for_new_task_suites pool parameter.
  • False — Use the overlap that is set in the overlap task suite parameter.

Default value: False.

open_poolOptional[bool]

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

async_modeOptional[bool]

Request processing mode:

  • True — Asynchronous operation is started internally.
  • False — The request is processed synchronously. A maximum of 5000 task suites can be added in a single request in this mode.

Default value: True.

Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming