code: def get_config():
      parser = argparse.ArgumentParser(
          "Global Config Argument Parser", allow_abbrev=False
      )
      parser.add_argument(
          "--config_yaml",
          required=True,
          type=str,
          help="the configuration file for this experiment.",
      )
      parser.add_argument(
          "--resume",
          type=str,
          help="a specified logging path to resume training.\
             It will fall back to run from initialization if no latest checkpoint are found.",
      )
      parser.add_argument(
          "--test", type=str, help="a specified logging path to test"
      )
      args, _ = parser.parse_known_args()
      config = get_user_config(args.config_yaml)
  
      add_cfg_to_argparser(config, parser)
      args = parser.parse_args()
  
      update_cfg_with_argparser(config, args)
      check_config_conflicts(config)
      # print(config)
      return config, args
  
file_path: OpenPrompt/openprompt/config.py
imports: import argparse
  from yacs.config import CfgNode
  import sys
  from openprompt.utils.utils import check_config_conflicts
  from .default_config import get_default_config
  from openprompt.utils.logging import logger
  import os
label_desc: Use image node_id 8 for calling a global function with example usage: get_config() and returns: config,  args