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 check_cfg(self):
      device = self.cfg.get("device", "GPU")
      assert device.upper() in [
          "CPU",
          "GPU",
          "XPU",
      ], "device should be CPU, GPU or XPU"
  
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 3 for calling the ConfigParser obj's underlying member method code with example usage: obj.check_cfg() without return types