class_docstr: model configuration
code: def from_json_file(cls, json_file: Union[str, os.PathLike], **args):
      config_dict = cls._dict_from_json_file(json_file, **args)
      return cls(**config_dict)
  
file_path: DeepKE/example/llm/CPM-Bee/src/cpm_live/utils/config.py
imports: import json
  import os
  import copy
  from typing import Any, Dict, Union
  from .log import logger
label_desc: Use image node_id 2 for calling the Config obj's underlying member method code with example usage: obj.from_json_file(cls, json_file) and returns: cls