Refactored to resolve type-hints from Pylance
This commit is contained in:
parent
b35499e195
commit
7e00f3026c
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user