diff --git a/gns3server/agent/mcp/appliances.py b/gns3server/agent/mcp/appliances.py index 45a9b472a..6e3a3ecf5 100644 --- a/gns3server/agent/mcp/appliances.py +++ b/gns3server/agent/mcp/appliances.py @@ -108,7 +108,7 @@ def install_appliance_handler(params: dict[str, Any], gns3_ctx: dict[str, Any]) if version: request_params["version"] = version response = conn.http_call("post", url, params=request_params) - result = {"message": f"Appliance {appliance_id} installed"} + result: dict[str, Any] = {"message": f"Appliance {appliance_id} installed"} if response.content: # the install endpoint returns the created template (201); tolerate an # empty body in case an older server still replies with 204 diff --git a/pyproject.toml b/pyproject.toml index 11b04bee1..f41720a60 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -313,7 +313,6 @@ module = [ "gns3server.agent.gns3_copilot.tools_v2.vpcs_tools_netmiko", # 9 "gns3server.agent.gns3_copilot.utils.message_converters", # 2 "gns3server.agent.gns3_copilot.utils.parse_tool_content", # 1 - "gns3server.agent.mcp.appliances", # 1 "gns3server.agent.web_wireshark.docker_client", # 5 "gns3server.agent.web_wireshark.manage_wireshark", # 1 "gns3server.agent.web_wireshark.manager", # 9