class_docstr: Instantiate a dictionary
class_docstr_tok: ["Instantiate","a","dictionary"]
docstr: :param config: The config for the object to instantiate
  :param name: The full name of the object we try to instantiate
  :return: The resulting object
  :raise InstantiationImpossible: If the instantiator cannot handle this config
docstr_tok: [":","param","config",":","The","config","for","the","object","to","instantiate",":","param","name",":","The","full","name","of","the","object","we","try","to","instantiate",":","return",":","The","resulting","object",":","raise","InstantiationImpossible",":","If","the","instantiator","can","not","handle","this","config"]
code: def instantiate(
      self, config: Union[Dict, str, List], name: str
  ) -> Dict:
      """
      :param config: The config for the object to instantiate
      :param name: The full name of the object we try to instantiate
      :return: The resulting object
      :raise InstantiationImpossible: If the instantiator cannot handle this config
      """
      if not isinstance(config, dict):
          raise InstantiationImpossible()
  
      logger.info(f'instantiating "{name}" as a dictionary')
  
      return {
          key: self.builder.instantiate(value_config, f"{name}.{key}")
          for key, value_config in config.items()
      }
  
imports: import logging
  import os
  import traceback
  from abc import ABCMeta, abstractmethod
  from pathlib import Path
  from typing import Any, Callable, Dict, List, Mapping, Type, Union
  import toml
  import yaml
label_desc: Use image node_id 1 for calling the DictInstantiator obj's underlying member method code with example usage: obj.instantiate(config, name) and returns: unknown