code: def get_config(config_file):
      assert config_file.startswith(
          "configs/"
      ), "config file setting must start with configs/"
      temp_config_name = os.path.basename(config_file)
      temp_module_name = os.path.splitext(temp_config_name)[0]
      config = importlib.import_module("configs.config")
      cfg = config.config
      config = importlib.import_module("configs.%s" % temp_module_name)
      job_cfg = config.config
      cfg.update(job_cfg)
      if cfg.output is None:
          cfg.output = osp.join("work_dirs", temp_module_name)
      return cfg
  
file_path: insightface/recognition/arcface_paddle/configs/argparser.py
imports: import os
  import logging
  import argparse
  import importlib
label_desc: Use image node_id 5 for calling a global function with example usage: get_config(config_file) and returns: cfg