(plugin_name: str)
| 43 | |
| 44 | @app.get("/plugins/{plugin_name}") |
| 45 | async 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}") |
nothing calls this directly
no test coverage detected