def tag_alert(self, alertid, tags):

        if not isinstance(tags, list):
            raise

        return self._post(alertid % '/alert/%s/tag', data=json.dumps({"tags": tags}))
dataset/ETHPy150Open alerta/python-alerta/alerta/api.py/ApiClient.tag_alert/swapped operands of `%`