code: def make_config_from_dict(self, config, disable_tensorboard):
      # config is the path module name of the actual PyText config
      if isinstance(config, str):
          config = config_to_json(
              PyTextConfig, import_module(config).config
          )
      config = upgrade_to_latest(config)
      # Disable TensorBoard for integration tests
      if disable_tensorboard:
          config["use_tensorboard"] = False
      return self.disable_cuda(self.fix_paths(config))
  
file_path: pytext/pytext/utils/config_utils.py
imports: import json
  import os
  from importlib import import_module
  from pytext.config import config_to_json, PyTextConfig
  from pytext.config.config_adapter import upgrade_to_latest
  from pytext.config.serialize import pytext_config_from_json
  from pytext.utils.file_io import PathManager
label_desc: Use image node_id 3 for calling the MockConfigLoader obj's underlying member method code with example usage: obj.make_config_from_dict(config, disable_tensorboard) and returns: self