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
{{ message }}
Repository navigation
asyncio protocol factory types are too broad #6936
Mypy will say that error: "BaseProtocol" has no attribute "hello". That's because current stubs say that returned protocol type will be BaseProtocol. But we know for sure it will be the same as a type of the value returned by protocol factory (first argument).
Activity
drtyrsa commentedon Jan 17, 2022
Something like this - #6937
srittau commentedon Jan 17, 2022
Sounds sensible, PR welcome!
Akuli commentedon Jan 17, 2022
Fixed in #6937.