Skip to content
Discussion options

You must be logged in to vote

I'm pretty sure that does not automatically create a session for you in httpx, I think you want something like this:

async with httpx.AsyncClient() as client:
    await asyncio.gather(*[client.get...])

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@novitae
Comment options

@zanieb
Comment options

zanieb Mar 22, 2024
Collaborator

@novitae
Comment options

@zanieb
Comment options

zanieb Mar 22, 2024
Collaborator

Answer selected by novitae
@novitae
Comment options

@zanieb
Comment options

zanieb Mar 22, 2024
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants