From aed51390a442bc08a68b66c8e41ba31fb7816a1f Mon Sep 17 00:00:00 2001 From: Alexander Alderman Webb Date: Tue, 10 Mar 2026 10:29:38 +0100 Subject: [PATCH] ci(httpx): Resolve type checking failures --- sentry_sdk/integrations/httpx.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sentry_sdk/integrations/httpx.py b/sentry_sdk/integrations/httpx.py index 64fd8371e5..9e3de63ed1 100644 --- a/sentry_sdk/integrations/httpx.py +++ b/sentry_sdk/integrations/httpx.py @@ -23,7 +23,7 @@ try: - from httpx import AsyncClient, Client, Request, Response # type: ignore + from httpx import AsyncClient, Client, Request, Response except ImportError: raise DidNotEnable("httpx is not installed") @@ -94,7 +94,7 @@ def send(self: "Client", request: "Request", **kwargs: "Any") -> "Response": return rv - Client.send = send + Client.send = send # type: ignore def _install_httpx_async_client() -> None: @@ -150,4 +150,4 @@ async def send( return rv - AsyncClient.send = send + AsyncClient.send = send # type: ignore