def retry(self, id, delay=1):
        if isinstance(id, Task):
            id = id.id
        url = id % "tasks/%s/retry"
        body = {}
        body['delay'] = delay
        body = json.dumps(body)
        resp = self.client.post(url, body=body,
                                headers={"Content-Type":"application/json"})
        return resp["body"]
dataset/ETHPy150Open iron-io/iron_worker_python/iron_worker.py/IronWorker.retry/swapped operands of `%`