From 7e00f3026cae7c08fa4c80daf6d7d17c4d108d9c Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 3 Apr 2026 10:28:30 -0400 Subject: [PATCH] Refactored to resolve type-hints from Pylance --- Workday/workday-mcp/server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Workday/workday-mcp/server.py b/Workday/workday-mcp/server.py index 8a92479..5e71310 100644 --- a/Workday/workday-mcp/server.py +++ b/Workday/workday-mcp/server.py @@ -1,10 +1,11 @@ from mcp.server.fastmcp import FastMCP +from typing import Any # This stays the same - it's your server's identity mcp = FastMCP("Workday-Sync") @mcp.tool() -def get_worker_status(employee_id: str) -> dict: +def get_worker_status(employee_id: str) -> dict[str, Any]: """ WIS-009: Fetch structured worker status. This replaces the previous string-based version.