Skip to content

a typing-only fix for mypy errors since Flask got stubs

Dan Crosta requested to merge make-mypy-happy-take-2 into master

In my opinion, this is a better fix than !67 (closed), in that it touches only typing-related stuff, and doesn't require any "code" changes.

Open to feedback about shadowing the name vs. picking a new one. I think it's safe since you should roughly never use Response in Flask code (use current_app.make_response(...) instead)

Merge request reports