def create_alarm(self, entity, **kwargs):
        data = {'who': kwargs.get('who'),
                'why': kwargs.get('why'),
                'label': kwargs.get('label'),
                'check_id': kwargs.get('check_id'),
                'criteria': kwargs.get('criteria'),
                'notification_plan_id': kwargs.get('notification_plan_id')}
        headers = kwargs.get('headers', {})

        return self._create((entity.id) % "/entities/%s/alarms",
            data=data, coerce=self.get_alarm, headers=headers)
dataset/ETHPy150Open racker/rackspace-monitoring/rackspace_monitoring/drivers/rackspace.py/RackspaceMonitoringDriver.create_alarm/swapped operands of `%`