Skip to content

Commit 5920bd2

Browse files
committed
fix: add type hint to set variable
1 parent c78d1ac commit 5920bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/server/fastmcp/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def decorator(fn: AnyFunction) -> AnyFunction:
381381

382382
# Get all function params except 'ctx' or any parameter of type Context
383383
sig = inspect.signature(fn)
384-
func_params = set()
384+
func_params: set[str] = set()
385385
for param_name, param in sig.parameters.items():
386386
# Skip context parameters
387387
if param_name == "ctx" or (

0 commit comments

Comments
 (0)