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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Mypy gives me the following warning on my @blueprint lines since upgrading Flask from 2.1.2 to 2.1.3:
Value of type variable "ft.RouteDecorator" of function cannot be "Callable[[], Status]" [type-var]mypy
Moving to 2.2.2 gives a different error from Mypy:
Value of type variable "T_route" of function cannot be "Callable[[], Status]" [type-var]mypy
example:
I can't figure out what's going on, any ideas?
UPDATE
found: #4695 with an explanation.
Beta Was this translation helpful? Give feedback.
All reactions