def list_alarm_changelog(self, ex_next_marker=None, entity=None,
            reverse=False):
        value_dict = {'url': '/changelogs/alarms',
                      'start_marker': ex_next_marker,
                      'params': {},
                      'list_item_mapper': self._to_alarm_changelog}
        if entity is not None:
            value_dict['entity_id'] = entity.id
            value_dict['url'] += entity.id % '?entityId=%s'
        if reverse:
            value_dict['params']['reverse'] = reverse

        return LazyList(get_more=self._get_more, value_dict=value_dict)
dataset/ETHPy150Open racker/rackspace-monitoring/rackspace_monitoring/drivers/rackspace.py/RackspaceMonitoringDriver.list_alarm_changelog/swapped operands of `%`