CreateTaskAsyncParameters

toloka.client.task.CreateTaskAsyncParameters | Source code

CreateTaskAsyncParameters(
self,
*,
allow_defaults: Optional[bool] = None,
open_pool: Optional[bool] = None,
operation_id: Optional[UUID] = ...
)

Parameters used with the create_tasks_async method.

Send the operation_id to avoid creating the same tasks multiple times. You can use this ID later to get information about the operation.

Parameters Description

ParametersTypeDescription
allow_defaultsOptional[bool]

Active overlap setting:

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

Default value: False.

open_poolOptional[bool]

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

Default value: False.

operation_idOptional[UUID]

The ID of the operation conforming to the RFC4122 standard.

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