MCPcopy Index your code
hub / github.com/nonebot/nonebot2 / load_all_plugins

Method load_all_plugins

nonebot/plugin/manager.py:201–206  ·  view source on GitHub ↗

加载所有可用插件。

(self)

Source from the content-addressed store, hash-verified

199 )
200
201 def load_all_plugins(self) -> set[Plugin]:
202 """加载所有可用插件。"""
203
204 return set(
205 filter(None, (self.load_plugin(name) for name in self.available_plugins))
206 )
207
208
209class PluginFinder(MetaPathFinder):

Callers 3

load_pluginsFunction · 0.95
load_all_pluginsFunction · 0.95
test_load_pluginsFunction · 0.80

Calls 1

load_pluginMethod · 0.95

Tested by 1

test_load_pluginsFunction · 0.64