Toloka documentation

CreateTaskParameters

toloka.client.task.CreateTaskParameters | Source code

CreateTaskParameters(
    self,
    *,
    allow_defaults: Optional[bool] = None,
    open_pool: Optional[bool] = None
)

Parameters for Task creation controlling

Used when creating one Task.

Parameters Description

Parameters Type Description
allow_defaults Optional[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 task parameters (in the overlap field).
open_pool Optional[bool]

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