This commit is contained in:
Jonas Zeunert
2024-08-16 21:57:55 +02:00
parent adeb5c5ec7
commit 4309a2d185
1696 changed files with 279655 additions and 0 deletions

View File

@@ -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,
)