code: def _create_dataset_files(args: argparse.Namespace) -> None:
      """Creates the dataset directory. Executed by `tfds new <name>`."""
      if not naming.is_valid_dataset_and_class_name(args.dataset_name):
          raise ValueError(
              "Invalid dataset name. It should be a valid Python class name."
          )
  
      create_dataset_files(
          dataset_name=args.dataset_name,
          dataset_dir=args.dir,
          data_format=args.data_format,
      )
  
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 2 for calling a global function with example usage: _create_dataset_files(args) without return types