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)
An operation log item.
If the operation was successful, the log contains the IDs of created objects, otherwise it contains validation errors details.
Parameters | Type | Description |
---|---|---|
type | Optional[str] | The type of the operation.
|
success | Optional[bool] | The operation result: success or failure. |
input | Optional[Dict[str, Any]] | Input operation data. |
output | Optional[Dict[str, Any]] | Operation output data. The content depends on the log item |
Last updated: August 28, 2023