TrainingCloseOperation

toloka.client.operations.TrainingCloseOperation | Source code

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

Training closing operation.

The operation is returned by the close_training_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.

finishedOptional[datetime]

The UTC date and time when the operation finished.

progressOptional[int]

The operation progress as a percentage.

detailsOptional[Any]

Details of the operation completion.

parametersOptional[TrainingOperation.Parameters]

Parameters containing the ID of the training.

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