We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a84a2f commit c8e7335Copy full SHA for c8e7335
src/mcp/server/session.py
@@ -93,9 +93,7 @@ def __init__(
93
)
94
95
self._init_options = init_options
96
- self._incoming_message_stream_writer, self._incoming_message_stream_reader = anyio.create_memory_object_stream[
97
- ServerRequestResponder
98
- ](0)
+ self._incoming_message_stream_writer, self._incoming_message_stream_reader = anyio.create_memory_object_stream(0)
99
self._exit_stack.push_async_callback(lambda: self._incoming_message_stream_reader.aclose())
100
101
@property
0 commit comments