mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
mypy update + fix
This commit is contained in:
parent
50808c3c06
commit
a7e4cad3b7
@ -18,7 +18,7 @@ class ConnectionManager:
|
||||
futures = []
|
||||
for connection in self.active_connections:
|
||||
futures.append(connection.close())
|
||||
await wait(futures)
|
||||
await wait(futures) # type: ignore
|
||||
|
||||
async def connect(self, websocket: WebSocket) -> None:
|
||||
await websocket.accept()
|
||||
@ -31,7 +31,7 @@ class ConnectionManager:
|
||||
futures = []
|
||||
for connection in self.active_connections:
|
||||
futures.append(connection.send_json(jsonable_encoder(events)))
|
||||
await wait(futures)
|
||||
await wait(futures) # type: ignore
|
||||
|
||||
|
||||
manager = ConnectionManager()
|
||||
|
||||
@ -20,7 +20,7 @@ iniconfig==2.0.0
|
||||
Jinja2==3.1.3
|
||||
lupa==2.0
|
||||
MarkupSafe==2.1.5
|
||||
mypy==1.8.0
|
||||
mypy==1.9.0
|
||||
mypy-extensions==1.0.0
|
||||
nodeenv==1.8.0
|
||||
packaging==23.2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user