Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nonebot/nonebot2
/ get_loaded_plugins
Function
get_loaded_plugins
nonebot/plugin/__init__.py:164–166 ·
view source on GitHub ↗
获取当前已导入的所有插件。
()
Source
from the content-addressed store, hash-verified
162
163
164
def
get_loaded_plugins() -> set[
"Plugin"
]:
165
""
"获取当前已导入的所有插件。"
""
166
return
set(_plugins.values())
167
168
169
def
get_available_plugin_names() -> set[str]:
Callers
nothing calls this directly
Calls
1
values
Method · 0.45
Tested by
no test coverage detected