code: def defineTask(self, *args, **kwargs):
          
  
          return self._makeApiCall(self.funcinfo["defineTask"], *args, **kwargs)
docs: Define Task
  
          **Deprecated**, this is the same as `createTask` with a **self-dependency**.
          This is only present for legacy.
  
          This method takes input: ``v1/create-task-request.json#``
  
          This method gives output: ``v1/task-status-response.json#``
  
          This method is ``deprecated``