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 __init__(self, args):
      with open(args.config) as f:
          cfg = yaml.safe_load(f)
      self.cfg = self.merge_cfg(args, cfg)
      self.check_cfg()
      self.print_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 1 to create a new ConfigParser object from inherited base classes: object with example: obj = ConfigParser(args)