class_docstr: Base class for check.
class_docstr_tok: ["Base","class","for","check","."]
docstr: Return check object from a CheckConfig object.
  
  Parameters
  ----------
  conf : Dict[Any, Any]
  
  Returns
  -------
  BaseCheck
      the check class object from given config
docstr_tok: ["Return","check","object","from","a","CheckConfig","object",".","Parameters","--","--","--","--","--","conf",":","Dict","[","Any",",","Any","]","Returns","--","--","--","-","BaseCheck","the","check","class","object","from","given","config"]
code: def from_config(
      cls: Type[Self],
      conf: CheckConfig,
      version_unmatch: "common.VersionUnmatchAction" = "warn",
  ) -> Self:
      """Return check object from a CheckConfig object.
  
      Parameters
      ----------
      conf : Dict[Any, Any]
  
      Returns
      -------
      BaseCheck
          the check class object from given config
      """
      # NOTE:
      # within the method we need to treat conf as a dict with unknown structure/content
      check_conf = cast(Dict[str, Any], conf)
      check_conf = common.validate_config(
          check_conf, version_unmatch=version_unmatch
      )
      type_ = common.import_type(
          type_name=check_conf["class_name"],
          module_name=check_conf["module_name"],
          base=cls,
      )
      return type_(**check_conf["params"])
  
imports: import abc
  import enum
  import json
  from collections import OrderedDict
  from typing import Any, Callable, ClassVar, Dict, List, Optional, Type, Union, cast
  from typing_extensions import NotRequired, Self, TypedDict
  from deepchecks import __version__
  from deepchecks.core import check_result
  from deepchecks.core.condition import Condition, ConditionCategory, ConditionResult
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.utils.function import initvars
  from deepchecks.utils.strings import get_docs_summary, split_camel_case
  from .None import common
label_desc: Use image node_id 14 for calling the BaseCheck obj's underlying member method code with example usage: obj.from_config(cls, conf, version_unmatch) and returns: type_