code: def getTaskInfo(self, task_id, **kwargs):
          
          kwargs['request'] = True
          taskinfo = yield self.call('getTaskInfo', task_id, **kwargs)
          task = Task.fromDict(taskinfo)
          if task:
              task.connection = self
          defer.returnValue(task)
docs: Load all information about a task and return a custom Task class.
  
          Calls "getTaskInfo" XML-RPC (with request=True to get the full
          information.)
  
          :param task_id: ``int``, for example 12345
          :returns: deferred that when fired returns a Task (Munch, dict-like)
                    object representing this Koji task, or none if no task was
                    found.