class_docstr:     ConfigParser is an object that can parse a yml config file.
  
  Args:
      args: An object of type argparse.
class_docstr_tok: ["ConfigParser","is","an","object","that","can","parse","a","yml","config","file",".","Args",":","args",":","An","object","of","type","argparse","."]
code: def merge_cfg(self, args, cfg):
      args_dict = vars(args)
      for k, v in args_dict.items():
          if v is not None:
              cfg[k] = v
      return cfg
  
file_path: PaddleSeg/contrib/QualityInspector/qinspector/cvlib/uad_configs.py
imports: import yaml
  from collections import namedtuple
  from qinspector.utils.logger import setup_logger
label_desc: Use image node_id 2 for calling the ConfigParser obj's underlying member method code with example usage: obj.merge_cfg(args, cfg) and returns: cfg