code: def calc(
      cls,
      name: Union[ConfigItem, List[ConfigItem]] = None,
      option_name: Optional[str] = None,
      pass_params: Optional[List[ConfigItem]] = None,
  ):
      def wrapper(func: Callable):
          cls._add_config_function(func, name, option_name, pass_params)
  
          return func
  
      return wrapper
  
imports: import types
  import warnings
  from collections import OrderedDict
  from typing import Dict, List, Callable, Union, Tuple, Optional, Type, Set, Iterable, Any
  from .config_function import ConfigFunction
  from .config_item import ConfigItem
  from .eval_function import EvalFunction
  from .utils import Value
  from ...None import monit
label_desc: Use image node_id 19 for calling the Configs obj's underlying member method code with example usage: obj.calc(cls, name, option_name, pass_params) and returns: wrapper, func