def update_user(self, user, data):

        return self._put(user % '/user/%s', data=json.dumps(data))
dataset/ETHPy150Open alerta/python-alerta/alerta/api.py/ApiClient.update_user/swapped operands of `%`