Ignore typing for asyncio.wait

This commit is contained in:
mhchia
2019-10-02 15:45:54 +08:00
parent 50a0783b98
commit 82dc5d9e31
2 changed files with 7 additions and 1 deletions

View File

@ -62,7 +62,11 @@ class MplexStream(IMuxedStream):
self.event_remote_closed.wait()
)
done, pending = await asyncio.wait( # type: ignore
[task_event_reset, task_incoming_data_get, task_event_remote_closed],
[ # type: ignore
task_event_reset,
task_incoming_data_get,
task_event_remote_closed,
],
return_when=asyncio.FIRST_COMPLETED,
)
for fut in pending: