MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / get

Method get

apps/plugins/loader.py:45–48  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

43
44 @classmethod
45 def get(cls) -> "PluginManager":
46 if not cls._instance:
47 cls._instance = PluginManager()
48 return cls._instance
49
50 def __init__(self) -> None:
51 self.plugins_dir = os.environ.get("DISPATCHARR_PLUGINS_DIR", "/data/plugins")

Callers 15

__init__Method · 0.45
list_pluginsMethod · 0.45
get_pluginMethod · 0.45
update_settingsMethod · 0.45
run_actionMethod · 0.45
stop_pluginMethod · 0.45
_build_contextMethod · 0.45

Calls 1

PluginManagerClass · 0.85

Tested by

no test coverage detected