def cancelOperation(self, params): operation_id = int(params[0]) Operation.cancel_operation(operation_id)