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
{{ message }}
This repository was archived by the owner on Aug 5, 2025. It is now read-only.
It not only waste resources to initialization/finalization every time, but also establish new connection every time, preventing HTTP connection pooling.
Instead, httpx client should be initialized once [1][2] at initialization of class which use it and then closed when class instance is no longer used, which is more efficient.