code: def _get_sections(
      builder_cls: Type[tfds.core.DatasetBuilder],
  ) -> Set[str]:
      """Returns the sections associated with the builder."""
      module_parts = builder_cls.__module__.split(".")
      if module_parts[0] != "tensorflow_datasets":
          raise AssertionError(
              f"Unexpected builder {builder_cls}: module"
          )
      # Legacy datasets: a single section, inferred from module path.
      _, category, *_ = module_parts  # tfds.<category>.xyz
      if category != "datasets":
          return {category}
      # Sections are inferred from tags.
      ds_metadata = builder_cls.get_metadata()
      if ds_metadata.tags:
          sections = set()
          for tag in ds_metadata.tags:
              # Ignore languages until we have a better way to display them.
              if tag.startswith("content.language"):
                  continue
              section = tag.rsplit(".")[-1]
              sections.add(section)
          return sections
      return {"uncategorized"}
  
imports: from concurrent import futures
  import dataclasses
  import functools
  from typing import Any, Iterator, List, Optional, Set, Type
  from absl import logging
  import tensorflow_datasets
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  from tensorflow_datasets.scripts.documentation import collection_markdown_builder
  from tensorflow_datasets.scripts.documentation import dataset_markdown_builder
  from tensorflow_datasets.scripts.documentation import doc_utils
  import tqdm
label_desc: Use image node_id 7 for calling a global function with example usage: _get_sections(builder_cls) and returns: unknown, unknown, sections