mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Fix return type of werkzeug's ProxyFix (#3320)
This commit is contained in:
committed by
Sebastian Rittau
parent
6e4708ebf3
commit
a6f146e651
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user