code: def get_config_from_file(path):
      cfg = CfgNode(new_allowed=True)
      cfg.merge_from_file(path)
      return cfg
  
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 1 for calling a global function with example usage: get_config_from_file(path) and returns: cfg