MCPcopy Index your code
hub / github.com/AstrBotDevs/AstrBot / info

Method info

tests/test_plugin_manager.py:152–161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

150
151 class LegacyPlugin:
152 def info(self):
153 nonlocal info_called
154 info_called = True
155 return {
156 "name": TEST_PLUGIN_NAME,
157 "repo": TEST_PLUGIN_REPO,
158 "version": "1.0.0",
159 "author": "AstrBot Team",
160 "desc": "Legacy plugin",
161 }
162
163 loaded_metadata = PluginManager._load_plugin_metadata(
164 str(plugin_path),

Callers 15

check_dashboard_filesFunction · 0.80
main_asyncFunction · 0.80
_handle_webchatFunction · 0.80
build_main_agentFunction · 0.80
initializeMethod · 0.80
reload_from_configMethod · 0.80
_print_eventMethod · 0.80
startMethod · 0.80
apply_update_packageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected