Add DummyCookieJar to client owned ClientSession

This commit is contained in:
Deep Jain 2024-08-28 16:21:41 -04:00 committed by GitHub
parent 624b5b7643
commit 643a7f4e1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -803,6 +803,7 @@ class HTTPClient:
connector=self.connector,
ws_response_class=DiscordClientWebSocketResponse,
trace_configs=None if self.http_trace is None else [self.http_trace],
cookie_jar=aiohttp.DummyCookieJar(),
)
self._global_over = asyncio.Event()
self._global_over.set()