Skip to content

Commit ede8cde

Browse files
committed
clean up
1 parent 6c9c320 commit ede8cde

File tree

4 files changed

+58
-140
lines changed

4 files changed

+58
-140
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .server import main
22

33
if __name__ == "__main__":
4-
main()
4+
main()

examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/server.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ async def handle_streamable_http(scope, receive, send):
152152
async with session_creation_lock:
153153
new_session_id = uuid4().hex
154154
http_transport = StreamableHTTPServerTransport(
155-
mcp_session_id=new_session_id, is_json_response_enabled=json_response
155+
mcp_session_id=new_session_id,
156+
is_json_response_enabled=json_response,
156157
)
157158
async with http_transport.connect() as streams:
158159
read_stream, write_stream = streams

0 commit comments

Comments
 (0)