From: Mateusz Nowak Date: Sun, 4 Sep 2022 15:12:10 +0000 (+0200) Subject: ✨ Export `WebSocketState` in `fastapi.websockets` (#4376) X-Git-Tag: 0.82.0~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dacb68929082060b46848c237a3a23085eab947b;p=thirdparty%2Ffastapi%2Ffastapi.git ✨ Export `WebSocketState` in `fastapi.websockets` (#4376) --- diff --git a/fastapi/websockets.py b/fastapi/websockets.py index bed672acff..55a4ac4a1a 100644 --- a/fastapi/websockets.py +++ b/fastapi/websockets.py @@ -1,2 +1,3 @@ from starlette.websockets import WebSocket as WebSocket # noqa from starlette.websockets import WebSocketDisconnect as WebSocketDisconnect # noqa +from starlette.websockets import WebSocketState as WebSocketState # noqa