def update(self, resource_id, data):
        try:
            data = json.dumps(data)
        except Exception as e:
            raise Error(e.message % 'Error encoding parameters into JSON: "%s"')
        return self.rest_update(resource_id, data)
dataset/ETHPy150Open mollie/mollie-api-python/Mollie/API/Resource/Base.py/Base.update/swapped operands of `%`