code: def parse_meta(task: str, meta_path: str) -> None:
      """Parse meta file.
  
      Args:
          cfg_path (str): Path to meta file.
      """
      try:
          meta = Config.fromfile(meta_path)
      except FileNotFoundError:
          return
      assert (
          task in meta["Data"]["Tasks"]
      ), f"Task {task} not supported!"
      # License related
      if meta["Data"]["License"]["Type"]:
          print(f"\033[1;33;40mDataset Name: {meta['Name']}")
          print(f"License Type: {meta['Data']['License']['Type']}")
          print(f"License Link: {meta['Data']['License']['Link']}")
          print(f"BibTeX: {meta['Paper']['BibTeX']}\033[0m")
          print(
              "\033[1;31;43mMMOCR does not own the dataset. Using this "
              "dataset you must accept the license provided by the owners, "
              "and cite the corresponding papers appropriately."
          )
          print(
              "If you do not agree with the above license, please cancel "
              "the progress immediately by pressing ctrl+c. Otherwise, "
              "you are deemed to accept the terms and conditions.\033[0m"
          )
          for i in range(5):
              print(f"{5-i}...")
              time.sleep(1)
  
file_path: mmocr/tools/dataset_converters/prepare_dataset.py
imports: import argparse
  import os.path
  import time
  import warnings
  from mmengine import Config
  from mmocr.datasets.preparers import DatasetPreparer
label_desc: Use image node_id 2 for calling a global function with example usage: parse_meta(task, meta_path) without return types