MCPcopy Create free account
hub / github.com/IQEngine/IQEngine / get_plugin_definition

Function get_plugin_definition

plugins/src/plugins_api.py:45–50  ·  view source on GitHub ↗
(plugin_name: str)

Source from the content-addressed store, hash-verified

43
44@app.get("/plugins/{plugin_name}")
45async def get_plugin_definition(plugin_name: str):
46 core_definition = await get_core_plugin_definition(plugin_name)
47 definition = copy.deepcopy(core_definition.__pydantic_model__.schema()["properties"])
48 del definition["sample_rate"]
49 del definition["center_freq"]
50 return definition
51
52
53@app.post("/plugins/{plugin_name}")

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected