Skip to content

Commit ee989cf

Browse files
fix: remove unnecessary lint ignore
1 parent 6daf63b commit ee989cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/client/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ async def _validate_tool_result(self, name: str, result: types.CallToolResult) -
354354
"""Validate the structured content of a tool result against its output schema."""
355355
if name not in self._tool_output_schemas:
356356
# refresh output schema cache
357-
await self.list_tools() # type: ignore[reportDeprecated]
357+
await self.list_tools()
358358

359359
output_schema = None
360360
if name in self._tool_output_schemas:

0 commit comments

Comments
 (0)