class_docstr: Base class for a dataset builder method decorator.
docstr: Gets information about the builder.
  
  Args:
    dsbuilder: the builder instance to which the wrapped function was bound
      when it was called.
  
  Returns:
    builder_name: name of the builder.
    config: name of the builder config.
    version: version of the builder.
    data_path: path to the builder data directory.
docstr_tok: ["Gets","information","about","the","builder",".","Args",":","dsbuilder",":","the","builder","instance","to","which","the","wrapped","function","was","bound","when","it","was","called",".","Returns",":","builder_name",":","name","of","the","builder",".","config",":","name","of","the","builder","config",".","version",":","version","of","the","builder",".","data_path",":","path","to","the","builder","data","directory","."]
code: def _get_info(dsbuilder: Any) -> Tuple[str, str, str, str]:
      """Gets information about the builder.
  
      Args:
        dsbuilder: the builder instance to which the wrapped function was bound
          when it was called.
  
      Returns:
        builder_name: name of the builder.
        config: name of the builder config.
        version: version of the builder.
        data_path: path to the builder data directory.
      """
      config_name = (
          dsbuilder.builder_config.name
          if dsbuilder.builder_config
          else ""
      )
      data_path = dsbuilder.data_dir
      return (
          dsbuilder.name,
          config_name,
          str(dsbuilder.version),
          data_path,
      )
  
imports: import abc
  import atexit
  import collections
  import functools
  import threading
  from typing import Any, Callable, Dict, List, Optional, Tuple, TypeVar
  from absl import flags
  from tensorflow_datasets.core.logging import base_logger
  from tensorflow_datasets.core.logging import call_metadata
  from tensorflow_datasets.core.logging import logging_logger
  import wrapt
label_desc: Use image node_id 1 for calling the _DsbuilderMethodDecorator obj's underlying member method code with example usage: obj._get_info(dsbuilder) and returns: dsbuilder,  config_name,  str,  data_path