Skip to content

Commit a50cf92

Browse files
committed
fix: ruff format
1 parent 10a85e4 commit a50cf92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mcp/client/session.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async def __call__(
2121
class ListRootsFnT(Protocol):
2222
async def __call__(
2323
self, context: RequestContext["ClientSession", Any]
24-
) -> types.ListRootsResult | types.ErrorData: ...
24+
) -> types.ListRootsResult | types.ErrorData: ...
2525

2626

2727
async def _default_sampling_callback(
@@ -36,7 +36,7 @@ async def _default_sampling_callback(
3636

3737
async def _default_list_roots_callback(
3838
context: RequestContext["ClientSession", Any],
39-
) -> types.ListRootsResult | types.ErrorData:
39+
) -> types.ListRootsResult | types.ErrorData:
4040
return types.ErrorData(
4141
code=types.INVALID_REQUEST,
4242
message="List roots not supported",
@@ -317,7 +317,7 @@ async def _received_request(
317317
response = await self._list_roots_callback(ctx)
318318
client_response = ClientResponse.validate_python(response)
319319
await responder.respond(client_response)
320-
320+
321321
case types.PingRequest():
322322
with responder:
323323
return await responder.respond(

0 commit comments

Comments
 (0)