MCPcopy
hub / github.com/wechaty/python-wechaty / _check_plugins

Method _check_plugins

src/wechaty/plugin.py:785–790  ·  view source on GitHub ↗

check the plugins whether

(self, name: str)

Source from the content-addressed store, hash-verified

783 self._plugin_status.pop(name)
784
785 def _check_plugins(self, name: str) -> None:
786 """
787 check the plugins whether
788 """
789 if name not in self._plugins and name not in self._plugin_status:
790 raise WechatyPluginError(f'plugins <{name}> not exist')
791
792 async def stop_plugin(self, name: str) -> None:
793 """stop the plugin"""

Callers 3

stop_pluginMethod · 0.95
start_pluginMethod · 0.95
plugin_statusMethod · 0.95

Calls 1

WechatyPluginErrorClass · 0.85

Tested by

no test coverage detected