mypy update + fix

This commit is contained in:
Raffson
2024-04-13 16:15:33 +02:00
parent 50808c3c06
commit a7e4cad3b7
2 changed files with 3 additions and 3 deletions

View File

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