Skip to content
Myr

Merge pull request #4072 from pallets/typeshed

Before adoption: this commit came in with the history the project adopted, so no landing records it.

use _typeshed.wsgi instead of wsgiref.types

authored by David Lord · committed by GitHub · parents 19b905e, afc907f · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/flask/typing.py+1 added-1 removed
1import typing as t234if t.TYPE_CHECKING:5 from _typeshed.wsgi import WSGIApplication # noqa: F4016 from werkzeug.datastructures import Headers # noqa: F4016 from wsgiref.types import WSGIApplication # noqa: F4017 from .wrappers import Response # noqa: F40189# The possible types that are directly convertible or are a Response object.10ResponseValue = t.Union[
36 unmodified lines