aiohttp-tus
aiohttp-tus copied to clipboard
aiohttp moved _Handler to typedefs.Handler
https://github.com/okumy/aiohttp-tus/blob/24f34b76f85b243d563b18f6b40b3ae288d56a29/aiohttp_tus/annotations.py#L3
Just noticed this today:
ImportError: cannot import name '_Handler' from 'aiohttp.web_middlewares' (/usr/local/lib/python3.8/dist-packages/aiohttp/web_middlewares.py)
I poked around in the aiohttp commit history and saw this one: https://github.com/aio-libs/aiohttp/commit/1b45c733f07d59f9f56cf468b39cec109f745ff8#diff-b756d284fe20863e4e6a5fdfa7a6f460e7f0699f4b3d658f5049be5ee821ab31
It looks like aiohttp.web_middlewares._Handler may have moved to aiohttp.typedefs.Handler