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

Method get_plugin

apps/plugins/loader.py:524–526  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

522 return plugins
523
524 def get_plugin(self, key: str) -> Optional[LoadedPlugin]:
525 with self._lock:
526 return self._registry.get(key)
527
528 def update_settings(self, key: str, settings: Dict[str, Any]) -> Dict[str, Any]:
529 cfg = PluginConfig.objects.get(key=key)

Callers 3

run_actionMethod · 0.95
stop_pluginMethod · 0.95
getMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected