diff --git a/src/flask/typing.py b/src/flask/typing.py index 0cd4b3e7..66bc0a54 100644 --- a/src/flask/typing.py +++ b/src/flask/typing.py @@ -5,7 +5,7 @@ import typing as t if t.TYPE_CHECKING: # pragma: no cover from _typeshed.wsgi import WSGIApplication # noqa: F401 from werkzeug.datastructures import Headers # noqa: F401 - from werkzeug.wrappers import Response # noqa: F401 + from werkzeug.sansio.response import Response # noqa: F401 # The possible types that are directly convertible or are a Response object. ResponseValue = t.Union[