toloka.client.operations.TrainingOpenOperation
| Source code
TrainingOpenOperation( 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)
Operation returned by an asynchronous opening training pool via TolokaClient.open_training_async()
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. |
details | Optional[Any] | Details of the operation completion. |
parameters | Optional[TrainingOperation.Parameters] | Operation parameters (depending on the operation type). |
training_id | - | On which training pool operation is performed. |