Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sentry_sdk/integrations/httpx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -150,4 +150,4 @@ async def send(

return rv

AsyncClient.send = send
AsyncClient.send = send # type: ignore
Loading