code: def get_dataclasses_help(cls) -> Dict:
      """
      Get dataclasses infos.
      Returns:
          (`dict`)
              The help dict.
      """
      config_fields = fields(cls)
      help_dict = {}
      default_dict = {}
      for config_field in config_fields:
          default_dict[config_field.name] = config_field.default
          help_dict[config_field.name] = config_field.metadata
      for field_name, metadata_dict in help_dict.items():
          print(
              f"- {field_name} \n  default: {default_dict[field_name]} \n  metadata_dict: {metadata_dict} \n"
          )
      return help_dict
  
imports: import json
  import os
  from dataclasses import asdict, dataclass, field, fields
  from enum import Enum
  import torch
  from typing import Optional, Dict, Any, Union
  from towhee.utils.log import trainer_log
  from towhee.utils.yaml_utils import dump_yaml, load_yaml
label_desc: Use image node_id 4 for calling a global function with example usage: get_dataclasses_help(cls) and returns: help_dict