code: def _get_full_names(
      datasets: Optional[List[str]] = None,
  ) -> List[str]:
      """Lists all builder names `ds/version` and `ds/config/version` to generate.
  
      Args:
        datasets: List of datasets from which get the builder names.
  
      Returns:
        builder_names: The builder names.
      """
      if datasets is None:
          return tfds.core.load.list_full_names(
              current_version_only=True
          )
      else:
          builder_names = list(
              itertools.chain.from_iterable(
                  [
                      tfds.core.load.single_full_names(builder_name)
                      for builder_name in datasets
                  ]
              )
          )
          return builder_names
  
file_path: datasets/tensorflow_datasets/scripts/documentation/script_utils.py
imports: import concurrent.futures
  import functools
  import itertools
  import multiprocessing
  import os
  import traceback
  from typing import Any, Callable, List, Optional, TypeVar
  from absl import app
  from absl import logging
  import tensorflow_datasets
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: _get_full_names(datasets) and returns: tfds, builder_names