Use several aiohttp.ClientSession to access the same server #7627
Replies: 1 comment
-
I finally found the pb and it's definitively not in aiohttp.ClientSession but in my current low knowledge of Python and the way to deal with constructor |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to access the same sever with different accounts (for test purpose for example) in concurrency mode . So without to close the first
ClientSession
created before to use the second oneIt seems than using
aiohttp.ClientSession(base_url=url)
while provides the sameClientSession
object . I tried also without specifyingbase_url
I tried also to specify a
TcpConnector
when creating theClientSession
but with no success.I miss something but I can't find it.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions