def queries():
 out = {}
 for plugin in find_plugins():
  out.update(plugin.queries())
 return out

def queries ( ) : out = { } for plugin in find_plugins ( ) : out . update ( plugin . queries ( ) ) return out
returns a dict mapping prefix strings to query subclasses all loaded plugins .