Bump httpx 0.21.2 from to 0.24.1

This commit is contained in:
Alexandre Flament 2023-08-12 14:57:00 +00:00 committed by mrpaulblack
parent d52919cc3e
commit b4e4cfc026
3 changed files with 12 additions and 4 deletions

View file

@ -409,7 +409,7 @@ def done():
"""Close all HTTP client
Avoid a warning at exit
see https://github.com/encode/httpx/blob/1a6e254f72d9fd5694a1c10a28927e193ab4f76b/httpx/_client.py#L1785
See https://github.com/encode/httpx/pull/2026
Note: since Network.aclose has to be async, it is not possible to call this method on Network.__del__
So Network.aclose is called here using atexit.register