Skip to content

Commit a77ce14

Browse files
committed
revert file
1 parent ef4c7ce commit a77ce14

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/client/test_list_roots_callback.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
from mcp.client.session import ClientSession
55
from mcp.server.fastmcp.server import Context
6-
from mcp.server.session import ServerSession
76
from mcp.shared.context import RequestContext
87
from mcp.shared.memory import (
98
create_connected_server_and_client_session as create_session,
@@ -36,7 +35,7 @@ async def list_roots_callback(
3635
return callback_return
3736

3837
@server.tool("test_list_roots")
39-
async def test_list_roots(context: Context[ServerSession], message: str): # type: ignore[reportUnknownMemberType]
38+
async def test_list_roots(context: Context, message: str): # type: ignore[reportUnknownMemberType]
4039
roots = await context.session.list_roots()
4140
assert roots == callback_return
4241
return True

0 commit comments

Comments
 (0)