code: def task_info_dict(self):
      return dict(
          name=self.name,
          unique_id=self.unique_id,
          output_paths=self.output_paths,
          params=self.params,
          processing_time=self.processing_time,
          is_complete=self.is_complete,
          task_log=self.task_log,
          requires=self.requires,
      )
  
file_path: gokart/gokart/tree/task_info_formatter.py
imports: import typing
  import warnings
  from dataclasses import dataclass
  from typing import Dict, List, NamedTuple, Optional, Set, Union
  import luigi
  from gokart.task import TaskOnKart
label_desc: Use image node_id 4 for calling the TaskInfo obj's underlying member method code with example usage: obj.task_info_dict() and returns: dict