You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AsyncClient constructor takes a http_session parameter for customizing the aiohttp.ClientSession. This works for the first connection, but if the client is disconnected, then upcoming connections overwrite the session by a fresh aiohttp.ClientSession(), losing the customizations.
Should http_session be e.g. a function that constructs ClientSessions instead?
The text was updated successfully, but these errors were encountered:
The
AsyncClient
constructor takes ahttp_session
parameter for customizing theaiohttp.ClientSession
. This works for the first connection, but if the client is disconnected, then upcoming connections overwrite the session by a freshaiohttp.ClientSession()
, losing the customizations.Should
http_session
be e.g. a function that constructsClientSession
s instead?The text was updated successfully, but these errors were encountered: