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
Incorrect constraint inference for unions with nested generics #9435
From my search, it looks like an issue similar to #6417, but happening to unions of generic and nested generic.
mypy has troubles with inferring a proper constraint and passing a nested generic to function that should accept such nested generic fails.
The issue can be worked around with @overloads.
Activity
Allow non-yielding functions in `tornado.gen.coroutine`'s type hint (#…
PR (#1)
Allow non-yielding functions in `tornado.gen.coroutine`'s type hint (t…