From e4dc32770230ead4d74755637a551b9b2137c2ef Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sun, 17 Dec 2023 19:44:58 +0100 Subject: [PATCH] fixup type annotation --- mitmproxy-rs/mitmproxy_rs/__init__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy-rs/mitmproxy_rs/__init__.pyi b/mitmproxy-rs/mitmproxy_rs/__init__.pyi index d39a1e6b..bee90ab5 100644 --- a/mitmproxy-rs/mitmproxy_rs/__init__.pyi +++ b/mitmproxy-rs/mitmproxy_rs/__init__.pyi @@ -97,7 +97,7 @@ class Stream: @overload def get_extra_info(self, name: Literal["process_name"], default: T) -> str | T: ... @overload - def get_extra_info(self, name: str, default: T) -> T: ... + def get_extra_info(self, name: str, default: Any) -> Any: ... def __repr__(self) -> str: ...