You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitMate.io thinks the contributor most likely able to help you is @asvetlov.
Possibly related issues are #2098 (Web-handler cancellation), #1993 (Deprecate registering synchronous web handlers), #186 (Force aiohttp.web handlers to coroutines), #2492 (Change web handlers cancellation policy), and #931 (web.View and multiple route resolution issue).
Long story short
according to aiohttp's documents,
web.view(path, handler)
hanlder should be aclass
inherit fromweb.View
https://github.com/aio-libs/aiohttp/blob/master/aiohttp/web_routedef.py#L123
but type annotation means that
handler
should be a instance ofAbstractView
instead of a class.Expected behaviour
web.view
's handler annotation should beType[AbstractView]
Actual behaviour
web.view
's handler annotation should beAbstractView
Steps to reproduce
no
Your environment
server: aiohttp==3.5.4
The text was updated successfully, but these errors were encountered: