From b28d78575fdf6dab823e9a9f061dca5909310a0e Mon Sep 17 00:00:00 2001 From: Vladyslav Doloman Date: Sat, 4 Oct 2025 17:06:12 +0300 Subject: [PATCH] Fix WebSocket handler for websockets 15.x compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove path parameter from handle_client() method to fix compatibility with websockets library version 15.x which no longer passes the path argument to connection handlers. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/server/websocket_handler.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/server/websocket_handler.py b/src/server/websocket_handler.py index 32f7bca..2d1d2c9 100644 --- a/src/server/websocket_handler.py +++ b/src/server/websocket_handler.py @@ -28,13 +28,11 @@ class WebSocketHandler: async def handle_client( self, websocket: WebSocketServerProtocol, - path: str, ) -> None: """Handle a WebSocket client connection. Args: websocket: WebSocket connection - path: Request path (unused) """ # Generate player ID (will be replaced when JOIN message received) import uuid