class_docstr: Base class for check.
class_docstr_tok: ["Base","class","for","check","."]
docstr: Return check configuration (conditions' configuration not yet supported).
  
  Returns
  -------
  CheckConfig
      includes the checks class name, params, and module name.
docstr_tok: ["Return","check","configuration","(","conditions","'","configuration","not","yet","supported",")",".","Returns","--","--","--","-","CheckConfig","includes","the","checks","class","name",",","params",",","and","module","name","."]
code: def config(
      self, include_version: bool = True, include_defaults: bool = True
  ) -> CheckConfig:
      """Return check configuration (conditions' configuration not yet supported).
  
      Returns
      -------
      CheckConfig
          includes the checks class name, params, and module name.
      """
      # NOTE:
      # default implementation of the config method makes an assumption
      # that Check type '__init__' method represents check instance internal
      # state, it is true for some of our checks but not for all.
      # To not do any implicit magical stuff the simplest solution for those
      # check types for which this assumption is not true is to override the
      # 'config' method.
      # Another important assumption about the config method and it return value is
      # that a check instance state (config.params) is represented by simple builtin
      # types that can be serialized to json/yaml and will not lose type information
      # between serialization/deserialization that might cause check instance to fall
      # after it recreation from config.
      # Again if that is not true for some sub-check it must override this method and to ensure
      # this assumption
      return self._prepare_config(
          params=initvars(self, include_defaults=include_defaults),
          include_version=include_version,
      )
  
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 13 for calling the BaseCheck obj's underlying member method code with example usage: obj.config(include_version, include_defaults) and returns: self