From 4028b648bc28d386923aac87dfcb6723ee82f626 Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Tue, 13 Jan 2026 22:54:28 -0500 Subject: [PATCH] Add type ignores for extra_data kwargs --- src/fastmcp/server/tasks/capabilities.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fastmcp/server/tasks/capabilities.py b/src/fastmcp/server/tasks/capabilities.py index aa803677a..9f7d4b4f9 100644 --- a/src/fastmcp/server/tasks/capabilities.py +++ b/src/fastmcp/server/tasks/capabilities.py @@ -36,7 +36,7 @@ def get_task_capabilities() -> ServerTasksCapability | None: cancel=TasksCancelCapability(), requests=ServerTasksRequestsCapability( tools=TasksToolsCapability(call=TasksCallCapability()), - prompts={"get": {}}, - resources={"read": {}}, + prompts={"get": {}}, # type: ignore[call-arg] # extra_data for forward compat + resources={"read": {}}, # type: ignore[call-arg] # extra_data for forward compat ), )