class_docstr: Composes multiple adaptation method configurations into one. This class can be used to define complex adaptation
  method setups.
class_docstr_tok: ["Composes","multiple","adaptation","method","configurations","into","one",".","This","class","can","be","used","to","define","complex","adaptation","method","setups","."]
code: def from_dict(cls, config):
      if isinstance(config, AdapterConfig):
          return config
  
      configs = []
      for c in config["configs"]:
          config_class = cls._get_config_class(c)
          configs.append(config_class.from_dict(c))
  
      return cls(*configs)
  
imports: import logging
  from collections.abc import Mapping
  from dataclasses import FrozenInstanceError, asdict, dataclass, field, replace
  from typing import List, Optional, Union
  from ..utils import resolve_adapter_config
label_desc: Use image node_id 9 for calling the ConfigUnion obj's underlying member method code with example usage: obj.from_dict(cls, config) and returns: cls, config