class_docstr: Hold some config params to control generation and report procedure.
class_docstr_tok: ["Hold","some","config","params","to","control","generation","and","report","procedure","."]
docstr: Constructs a `Config` from a Python dictionary of parameters.
docstr_tok: ["Constructs","a","`","Config","`","from","a","Python","dictionary","of","parameters","."]
code: def from_dict(cls, json_object):
      r"""
      Constructs a `Config` from a Python dictionary of parameters.
  
      """
      config = cls(task=json_object["task"])
      for key, value in six.iteritems(json_object):
          config.__dict__[key] = value
      return config
  
file_path: textflint/textflint/input/config/config.py
imports: import os
  import six
  import json
  import copy
  from ...common.utils.logger import logger
  from ...common.settings import NLP_TASK_MAP, ALLOWED_TRANSFORMATIONS, TRANSFORM_FIELDS, ALLOWED_SUBPOPULATIONS, ALLOWED_VALIDATORS, ALLOWED_cn_TRANSFORMATIONS
label_desc: Use image node_id 4 for calling the Config obj's underlying member method code with example usage: obj.from_dict(cls, json_object) and returns: config