From afc907fd0d4a4e96398829d75ded9711a3046070 Mon Sep 17 00:00:00 2001 From: David Lord Date: Mon, 17 May 2021 16:03:12 -0700 Subject: [PATCH] use _typeshed.wsgi instead of wsgiref.types --- src/flask/typing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flask/typing.py b/src/flask/typing.py index 9a664e41..5f27308c 100644 --- a/src/flask/typing.py +++ b/src/flask/typing.py @@ -2,8 +2,8 @@ import typing as t if t.TYPE_CHECKING: + from _typeshed.wsgi import WSGIApplication # noqa: F401 from werkzeug.datastructures import Headers # noqa: F401 - from wsgiref.types import WSGIApplication # noqa: F401 from .wrappers import Response # noqa: F401 # The possible types that are directly convertible or are a Response object.