fix(typing): resolve mypy errors in agent.mcp.appliances

This commit is contained in:
Mark Paronyan committed 2026-09-29 09:23:01 +03:00
1 parent 2d712e0a90
commit d25cb5cdca
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -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