MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / get_plugin

Function get_plugin

backend/app/services/tool/plugin/cache.py:150–158  ·  view source on GitHub ↗

Get a plugin :param bundle_id: the bundle id. :param plugin_id: the plugin id. :return: the plugin or None if not found.

(bundle_id: str, plugin_id: str)

Source from the content-addressed store, hash-verified

148
149
150def get_plugin(bundle_id: str, plugin_id: str) -> Optional[Plugin]:
151 """
152 Get a plugin
153
154 :param bundle_id: the bundle id.
155 :param plugin_id: the plugin id.
156 :return: the plugin or None if not found.
157 """
158 return _plugin_dict.get(f"{bundle_id}:{plugin_id}")
159
160
161def i18n_text(

Callers 3

verify_toolsFunction · 0.50
fetch_toolsFunction · 0.50
ui_fetch_toolsFunction · 0.50

Calls 1

getMethod · 0.45

Tested by

no test coverage detected