def template_funcs():
 funcs = {}
 for plugin in find_plugins():
  if plugin.template_funcs:
   funcs.update(plugin.template_funcs)
 return funcs

def template_funcs ( ) : funcs = { } for plugin in find_plugins ( ) : if plugin . template_funcs : funcs . update ( plugin . template_funcs ) return funcs
get all the template functions declared by plugins as a dictionary .