Closed jerry-skydio closed 8 months ago
This used to work but somehow got broken by a mypy version upgrade. Now the output of gather is treated as a list and as a result type info by index is not preserved. We have to manually declare the types by asserting for it to be happy.
Reviews in this chain: └https://github.com/Skydio/revup/pull/134 shell: Fix broken mypy linting on asyncio.gather()
This used to work but somehow got broken by a mypy version upgrade. Now the output of gather is treated as a list and as a result type info by index is not preserved. We have to manually declare the types by asserting for it to be happy.