Toloka documentation


toloka.client.operations.TrainingCloneOperation | Source code

    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,
    parameters: Optional[TrainingOperation.Parameters] = None,
    details: Optional[Details] = None

Operation returned by an asynchronous cloning training pool via TolokaClient.clone_training_async()

As parameters.training_id contains id of the training pool that needs to be cloned. New training pool id stored in details.training_id. Don't be mistaken.

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.

finished Optional[datetime]

The UTC date and time the operation finished.

progress Optional[int]

The percentage of the operation completed.

parameters Optional[TrainingOperation.Parameters]

Operation parameters (depending on the operation type).

details Optional[Details]

Details of the operation completion.

training_id -

On which training pool operation is performed.

pool_id -

New training pool id created after cloning.