Toloka documentation

OperationLogItem

toloka.client.operation_log.OperationLogItem | Source code

OperationLogItem(
    self,
    *,
    type: Optional[str] = None,
    success: Optional[bool] = None,
    input: Optional[Dict[str, Any]] = None,
    output: Optional[Dict[str, Any]] = None
)

Objects of which the operation log consists

Contains information about the validation errors and what sets of objects were created.

Parameters Description

Parameters Type Description
type Optional[str]

Type of action in the operation step.

success Optional[bool]

Result of the step (true or false).

input Optional[Dict[str, Any]]

Input data at the operation step.

output Optional[Dict[str, Any]]

Operation step output. Depends on the type.