We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 774e931 commit c96c78cCopy full SHA for c96c78c
sentry_sdk/transport.py
@@ -575,7 +575,7 @@ class AsyncHttpTransport(HttpTransportCore):
575
def __init__(self: Self, options: Dict[str, Any]) -> None:
576
super().__init__(options)
577
# Requires event loop at init time
578
- self._loop = asyncio.get_running_loop()
+ self.loop: asyncio.AbstractEventLoop = asyncio.get_running_loop()
579
self.background_tasks: set[asyncio.Task[None]] = set()
580
581
async def _send_envelope(self: Self, envelope: Envelope) -> None:
0 commit comments