code: def parse_args():
      # get training_config.json from the end user
      parser = argparse.ArgumentParser()
      parser.add_argument("--config", type=str, required=True)
      return parser.parse_args()
  
file_path: autotrain-advanced/src/autotrain/trainers/generic/__main__.py
imports: import argparse
  import json
  from autotrain import logger
  from autotrain.trainers.common import monitor, pause_space
  from autotrain.trainers.generic import utils
  from autotrain.trainers.generic.params import GenericParams
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser