class_docstr: `FeatureConnector` for integer class labels.
docstr: See base class for details.
docstr_tok: ["See","base","class","for","details","."]
code: def load_metadata(
      self, data_dir, feature_name=None
  ) -> Optional[list[str]]:
      """See base class for details."""
      # Restore names if defined
      names_filepath = self.get_names_filepath(data_dir, feature_name)
      try:
          self.names = _load_names_from_file(names_filepath)
      except OSError:
          pass
  
imports: from typing import Optional, Union
  from etils import epath
  import numpy
  from tensorflow_datasets.core.features import feature
  from tensorflow_datasets.core.features import tensor_feature
  from tensorflow_datasets.core.proto import feature_pb2
  from tensorflow_datasets.core.utils import type_utils
label_desc: Use image node_id 9 for calling the ClassLabel obj's underlying member method code with example usage: obj.load_metadata(data_dir, feature_name) without return types