code: def inflate_plugin_dict(plugin_dict, inflate_plugin):
          
          plugins = []
          for identifier, definition in plugin_dict.items():
              try:
                  plugins.append(inflate_plugin(identifier, definition))
              except PluginNotFoundError as e:
                  logger.error('Could not import plugin identified by %s. '
                               'Exception: %s.', identifier, e)
          return plugins
docs: Inflate a list of strings/dictionaries to a list of plugin instances.
  
          Args:
              plugin_dict (dict): a dict of dict.
              inflate_plugin (method): the method to inflate the plugin.
  
          Returns:
              list: a plugin instances list.