code: def task(self, body, priority=None, timeout=None, **kwargs):
          
          return self.nest(Task(body, priority=priority, timeout=timeout, **kwargs))
docs: Create a <Task> element
  
          :param body: TaskRouter task attributes
          :param priority: Task priority
          :param timeout: Timeout associated with task
          :param kwargs: additional attributes
  
          :returns: <Task> element