Skip to content

Commit a680dd5

Browse files
committed
update session
1 parent d3f83f3 commit a680dd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mcp/client/session.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ async def __aexit__(
158158
def _check_is_active(self) -> None:
159159
if not self._entered:
160160
raise RuntimeError("ClientSession must be used within an 'async with' block.")
161+
161162
@property
162163
def _receive_request_adapter(self) -> TypeAdapter[types.ServerRequest]:
163164
return types.server_request_adapter

0 commit comments

Comments
 (0)