code: def merge_config(configs):
      
      new_config = {}
  
      for name, config in configs.items():
          new_config = dictmerge(new_config, config, name)
  
      return new_config
docs: recursively deep-merge the configs into one another (highest priority comes first)