code: def _add_to_parent_init(info: utils.DatasetInfo) -> None:
      """Add `import` dataset in the `<ds_type>/__init__.py` file."""
      if not info.in_tfds:
          # Could add global init, but would be tricky to foresee all use-cases
          raise NotImplementedError(
              "Adding __init__.py in non-tfds dir not supported."
          )
  
      import_path = info.path.parent / "__init__.py"
      if not import_path.exists():
          return  # Should this be an error instead ?
      import_path.write_text(
          import_path.read_text()
          + f"from {info.ds_import} import {info.cls_name}\n"
      )
  
imports: import argparse
  import os
  import pathlib
  import subprocess
  import textwrap
  from typing import Optional
  from tensorflow_datasets.core import constants
  from tensorflow_datasets.core import dataset_metadata
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core.utils import resource_utils
  from tensorflow_datasets.scripts.cli import builder_templates
  from tensorflow_datasets.scripts.cli import cli_utils
label_desc: Use image node_id 12 for calling a global function with example usage: _add_to_parent_init(info) without return types