code: def aggregate(
      cls, name: ConfigItem, option: str, *args: Tuple[ConfigItem, any]
  ):
      assert args
  
      if PropertyKeys.aggregates not in cls.__dict__:
          cls._aggregates = {}
  
      if name.key not in cls._aggregates:
          cls._aggregates[name.key] = {}
  
      pairs = {p[0].key: p[1] for p in args}
      cls._aggregates[name.key][option] = pairs
  
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 22 for calling the Configs obj's underlying member method code with example usage: obj.aggregate(cls, name, option) without return types