Toloka documentation

AnalyticsOperation

toloka.client.operations.AnalyticsOperation | Source code

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

Operation returned when requesting analytics via TolokaClient.get_analytics()

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.

parameters Optional[Operation.Parameters]

Operation parameters (depending on the operation type).

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.