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
Get dataclasses infos.
Returns:
(`dict`)
The help dict.
towhee/trainer/training_config.py