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

Function load_all_plugin_handlers

plugin/app/cache/plugin_handler.py:50–60  ·  view source on GitHub ↗

Load all plugin handlers from the given bundle plugin ids. :param bundle_plugin_ids: a dictionary of bundle ids and a list of plugin ids. :return: None

(bundle_plugin_ids: Dict[str, List[str]])

Source from the content-addressed store, hash-verified

48
49# Automatically search and import all providers
50def load_all_plugin_handlers(bundle_plugin_ids: Dict[str, List[str]]):
51
52 """
53 Load all plugin handlers from the given bundle plugin ids.
54 :param bundle_plugin_ids: a dictionary of bundle ids and a list of plugin ids.
55 :return: None
56 """
57
58 for bundle_id, plugin_ids in bundle_plugin_ids.items():
59 for plugin_id in plugin_ids:
60 get_plugin_handler(bundle_id, plugin_id)

Callers 1

lifespanFunction · 0.90

Calls 1

get_plugin_handlerFunction · 0.85

Tested by

no test coverage detected