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

Method controlled_modules

nonebot/plugin/manager.py:76–82  ·  view source on GitHub ↗

返回当前插件管理器中控制的插件标识符与模块路径映射字典。

(self)

Source from the content-addressed store, hash-verified

74
75 @property
76 def controlled_modules(self) -> dict[str, str]:
77 """返回当前插件管理器中控制的插件标识符与模块路径映射字典。"""
78 return dict(
79 chain(
80 self._third_party_plugin_ids.items(), self._searched_plugin_ids.items()
81 )
82 )
83
84 def _previous_controlled_modules(self) -> dict[str, str]:
85 _pre_managers: list[PluginManager]

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected