Fix missing type for mqtt websocket wrapper (#117752)

This commit is contained in:
J. Nick Koston 2024-05-19 21:32:50 -10:00 committed by GitHub
parent 570d5f2b55
commit fe769c4527
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,7 +99,7 @@ UNSUBSCRIBE_COOLDOWN = 0.1
TIMEOUT_ACK = 10
RECONNECT_INTERVAL_SECONDS = 10
type SocketType = socket.socket | ssl.SSLSocket | Any
type SocketType = socket.socket | ssl.SSLSocket | mqtt.WebsocketWrapper | Any
type SubscribePayloadType = str | bytes # Only bytes if encoding is None