Skip to content

Commit 809f02b

Browse files
cursoragentP4X-ng
andcommitted
Drop deprecated websockets protocol type import
Co-authored-by: P4x-ng <P4X-ng@users.noreply.github.com>
1 parent 19329ac commit 809f02b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cdp/connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616

1717
try:
1818
import websockets
19-
from websockets.client import WebSocketClientProtocol
2019
WEBSOCKETS_AVAILABLE = True
2120
except ImportError:
2221
WEBSOCKETS_AVAILABLE = False
23-
WebSocketClientProtocol = typing.Any # type: ignore
22+
23+
WebSocketClientProtocol = typing.Any
2424

2525
from cdp.util import parse_json_event, T_JSON_DICT
2626

0 commit comments

Comments
 (0)