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

Method post

apps/plugins/api_views.py:150–154  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

148
149class PluginReloadAPIView(PluginAuthMixin, APIView):
150 def post(self, request):
151 pm = PluginManager.get()
152 pm.stop_all_plugins(reason="reload")
153 pm.discover_plugins(force_reload=True)
154 return Response({"success": True, "count": len(pm._registry)})
155
156
157def _install_plugin_from_zip(zip_file, plugins_dir, *, file_name="plugin.zip", allow_overwrite_key=None, allow_overwrite=False):

Callers

nothing calls this directly

Calls 3

stop_all_pluginsMethod · 0.80
discover_pluginsMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected