Toloka documentation

TaskSuiteCreateBatchOperation

toloka.client.operations.TaskSuiteCreateBatchOperation | Source code

TaskSuiteCreateBatchOperation(
    self,
    *,
    id: Optional[str] = None,
    status: Union[Operation.Status, str, None] = None,
    submitted: Optional[datetime] = None,
    started: Optional[datetime] = None,
    progress: Optional[int] = None,
    parameters: Optional[Parameters] = None,
    finished: Optional[datetime] = None,
    details: Optional[Any] = None
)

Operation returned by an asynchronous creating TaskSuite's via TolokaClient.create_task_suites_async()

All parameters are for reference only and describe the initial parameters of the request that this operation monitors.

Parameters Description

Parameters Type Description
id Optional[str]

Operation ID.

status Optional[Operation.Status]

The status of the operation.

submitted Optional[datetime]

The UTC date and time the request was sent.

started Optional[datetime]

The UTC date and time the operation started.

progress Optional[int]

The percentage of the operation completed.

parameters Optional[Parameters]

Operation parameters (depending on the operation type).

finished Optional[datetime]

The UTC date and time the operation finished.

details Optional[Any]

Details of the operation completion.

skip_invalid_items -

Validation parameters for JSON objects:

  • True - Create the task suites that passed validation. Skip the rest of the task suites.
  • False - If at least one of the task suites didn't pass validation, stop the operation and don't create any task suites.
allow_defaults -

Overlap settings:

  • True - Use the overlap that is set in the pool parameters.
  • False - Use the overlap that is set in the task parameters (in the overlap field).
open_pool -

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