π The fast, Pythonic way to build MCP servers and clients.
response_type is None
Jeremiah Lowinaab1f748100f
diff --git a/tests/client/test_elicitation.py b/tests/client/test_elicitation.pyindex 400c93fd3..e904340db 100644--- a/tests/client/test_elicitation.py+++ b/tests/client/test_elicitation.py@@ -1,6 +1,6 @@from dataclasses import asdict, dataclassfrom enum import Enum-from typing import Any, Literal+from typing import Literalimport pytestfrom mcp.types import ElicitRequestParams@@ -153,7 +153,7 @@ class TestScalarResponseTypes:message, response_type, params: ElicitRequestParams, ctx):assert params.requestedSchema == {"type": "object", "properties": {}}- assert response_type == dict[str, Any]+ assert response_type is Nonereturn ElicitResult(action="accept")async with Client(mcp, elicitation_handler=elicitation_handler) as client: