code: def rerunTask(self, *args, **kwargs):
          
  
          return self._makeApiCall(self.funcinfo["rerunTask"], *args, **kwargs)
docs: Rerun a Resolved Task
  
          This method _reruns_ a previously resolved task, even if it was
          _completed_. This is useful if your task completes unsuccessfully, and
          you just want to run it from scratch again. This will also reset the
          number of `retries` allowed.
  
          This method is deprecated in favour of creating a new task with the same
          task definition (but with a new taskId).
  
          Remember that `retries` in the task status counts the number of runs that
          the queue have started because the worker stopped responding, for example
          because a spot node died.
  
          **Remark** this operation is idempotent, if you try to rerun a task that
          is not either `failed` or `completed`, this operation will just return
          the current task status.
  
          This method gives output: ``v1/task-status-response.json#``
  
          This method is ``deprecated``