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

Function get_bundle

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

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

(bundle_id: str)

Source from the content-addressed store, hash-verified

138
139
140def get_bundle(bundle_id: str) -> Optional[Bundle]:
141 """
142 Get a bundle by bundle_id.
143
144 :param bundle_id: the bundle id.
145 :return: the bundle or None if not found.
146 """
147 return _bundle_dict.get(bundle_id)
148
149
150def get_plugin(bundle_id: str, plugin_id: str) -> Optional[Plugin]:

Callers 4

createMethod · 0.90
updateMethod · 0.90
ui_fetch_toolsFunction · 0.90
buildMethod · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected