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

ParametersTypeDescription
idOptional[str]

Operation ID.

statusOptional[Operation.Status]

The status of the operation.

submittedOptional[datetime]

The UTC date and time the request was sent.

startedOptional[datetime]

The UTC date and time the operation started.

progressOptional[int]

The percentage of the operation completed.

parametersOptional[Parameters]

Operation parameters (depending on the operation type).

finishedOptional[datetime]

The UTC date and time the operation finished.

detailsOptional[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.

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