From 6d7ba58f880be618ade07f8ea080fe8c4bf8a896 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Wed, 3 Apr 2024 03:10:44 -0400 Subject: venv --- venv/lib/python3.11/site-packages/websockets/connection.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 venv/lib/python3.11/site-packages/websockets/connection.py (limited to 'venv/lib/python3.11/site-packages/websockets/connection.py') diff --git a/venv/lib/python3.11/site-packages/websockets/connection.py b/venv/lib/python3.11/site-packages/websockets/connection.py new file mode 100644 index 0000000..88bcda1 --- /dev/null +++ b/venv/lib/python3.11/site-packages/websockets/connection.py @@ -0,0 +1,13 @@ +from __future__ import annotations + +import warnings + +# lazy_import doesn't support this use case. +from .protocol import SEND_EOF, Protocol as Connection, Side, State # noqa: F401 + + +warnings.warn( + "websockets.connection was renamed to websockets.protocol " + "and Connection was renamed to Protocol", + DeprecationWarning, +) -- cgit v1.2.3