asynclient not closing with aclose : UserWarning: Unclosed <httpx.AsyncClient object at 0x000001EEBB46E520>. #1851
Unanswered
qwerty32123
asked this question in
Q&A
Replies: 1 comment
-
If your request fails - which it does - an exception is raised and the client is never cleaned up. Either |
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
-
Client.py
Output:
Seems im not closing correctly my async client? I dont get why or how, im using aclose as the docs tell to.
Beta Was this translation helpful? Give feedback.
All reactions