aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/websockets/connection.py
diff options
context:
space:
mode:
Diffstat (limited to '.venv/lib/python3.12/site-packages/websockets/connection.py')
-rw-r--r--.venv/lib/python3.12/site-packages/websockets/connection.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/websockets/connection.py b/.venv/lib/python3.12/site-packages/websockets/connection.py
new file mode 100644
index 00000000..5e78e344
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/websockets/connection.py
@@ -0,0 +1,12 @@
+from __future__ import annotations
+
+import warnings
+
+from .protocol import SEND_EOF, Protocol as Connection, Side, State # noqa: F401
+
+
+warnings.warn( # deprecated in 11.0 - 2023-04-02
+ "websockets.connection was renamed to websockets.protocol "
+ "and Connection was renamed to Protocol",
+ DeprecationWarning,
+)