Fix return type of werkzeug's ProxyFix (#3320)

This commit is contained in:
Lukáš Lalinský
2019-10-08 10:30:00 +02:00
committed by Sebastian Rittau
parent 6e4708ebf3
commit a6f146e651

View File

@@ -20,4 +20,4 @@ class ProxyFix(object):
x_prefix: int = ...,
) -> None: ...
def get_remote_addr(self, forwarded_for: Iterable[str]) -> Optional[str]: ...
def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> WSGIApplication: ...
def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ...