websockets: static type fix
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
e82fe46c11
commit
942d595bc2
|
@ -489,7 +489,7 @@ class WebSocket(WebSocketHandler, Subscribable):
|
|||
self.rpc = self.wsm.rpc
|
||||
self._uid = id(self)
|
||||
self.is_closed: bool = False
|
||||
self.ip_addr: str = self.request.remote_ip
|
||||
self.ip_addr: str = self.request.remote_ip or ""
|
||||
self.queue_busy: bool = False
|
||||
self.pending_responses: Dict[int, asyncio.Future] = {}
|
||||
self.message_buf: List[Union[str, Dict[str, Any]]] = []
|
||||
|
|
Loading…
Reference in New Issue