Skip to content

Commit 02a0c5e

Browse files
committed
Remove stale TODO from Client.send_roots_list_changed
The lowlevel Server has handled roots/list_changed via on_roots_list_changed for a while (see tests/interaction/lowlevel/test_roots.py); the comment was left behind when the pragma next to it was removed.
1 parent 31b76cb commit 02a0c5e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎src/mcp/client/client.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,5 +946,4 @@ async def list_tools(
946946
@deprecated("The roots capability is deprecated as of 2026-07-28 (SEP-2577).", category=MCPDeprecationWarning)
947947
async def send_roots_list_changed(self) -> None:
948948
"""Send a notification that the roots list has changed."""
949-
# TODO(Marcelo): Currently, there is no way for the server to handle this. We should add support.
950949
await self.session.send_roots_list_changed() # pyright: ignore[reportDeprecated]

0 commit comments

Comments
 (0)