code: def to_info(self) -> Dict[str, Any]:
      return dict(
          feature_types=self.feature_types,
          label_types=self.label_types,
          num_unique_features=self.num_unique_features,
          num_unique_labels=self.num_unique_labels,
          index_mapping=self.index_mapping,
      )
  
imports: import numpy
  from typing import Any
  from typing import Dict
  from typing import Tuple
  from typing import Optional
  from dataclasses import dataclass
  from cftool.misc import print_warning
  from .file import FileParserBlock
  from ....schema import DataTypes
  from ....schema import DataBundle
  from ....schema import ColumnTypes
  from ....schema import INoInitDataBlock
label_desc: Use image node_id 1 for calling the RecognizerBlock obj's underlying member method code with example usage: obj.to_info() and returns: dict