MCPcopy Index your code
hub / github.com/beetbox/beets / template_funcs

Function template_funcs

beets/plugins.py:554–561  ·  view source on GitHub ↗

Get all the template functions declared by plugins as a dictionary.

()

Source from the content-addressed store, hash-verified

552
553
554def template_funcs() -> TFuncMap[str]:
555 """Get all the template functions declared by plugins as a
556 dictionary.
557 """
558 funcs: TFuncMap[str] = {}
559 for plugin in find_plugins():
560 funcs.update(plugin.template_funcs)
561 return funcs
562
563
564def early_import_stages() -> list[ImportStageFunc]:

Callers

nothing calls this directly

Calls 2

find_pluginsFunction · 0.85
updateMethod · 0.45

Tested by

no test coverage detected