use bound typevar to accept Flask and Werkzeug Response classes

This commit is contained in:
Justin Bull 2022-05-19 13:34:46 -04:00 committed by David Lord
parent a4f63e0390
commit 8cb950671f
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 8 additions and 2 deletions

View file

@ -7,6 +7,7 @@ Unreleased
- Inline some optional imports that are only used for certain CLI
commands. :pr:`4606`
- Relax type annotation for ``after_request`` functions. :issue:`4600`
Version 2.1.2