TasksCreateOperation

toloka.client.operations.TasksCreateOperation | Source code

TasksCreateOperation(
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
)

Task creating operation.

The operation is returned by the create_tasks_async method.

Parameters description

ParametersTypeDescription
idOptional[str]

The ID of the operation.

statusOptional[Operation.Status]

The status of the operation.

submittedOptional[datetime]

The UTC date and time when the operation was requested.

startedOptional[datetime]

The UTC date and time when the operation started.

progressOptional[int]

The operation progress as a percentage.

parametersOptional[Parameters]

Parameters passed to the create_tasks_async method.

finishedOptional[datetime]

The UTC date and time when the operation was completed.

detailsOptional[Any]

Details of the operation completion.

Last updated: August 28, 2023

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