Open 0xMochan opened 5 months ago
Describe the bug Normally use Subgrounds via async or sync interface (using query grouping or not) and observe ResourceWarnings.
ResourceWarning
Expected behavior No ResourceWarning.
Screenshots
sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=1588, family=23, type=1, proto=0, laddr=('local_address'), raddr=('remote_address')>
Additional context This pesky problem was introduced during the async aubgrounds update. It can be safely ignored and even filterd out via the warnings module but ideally we don't have this lingering around.
warnings
import warnings warnings.filterwarnings('ignore', category=ResourceWarning)
(Fixes #52)
async
sync
httpx
Describe the bug Normally use Subgrounds via async or sync interface (using query grouping or not) and observe
ResourceWarning
s.Expected behavior No
ResourceWarning
.Screenshots
Additional context This pesky problem was introduced during the async aubgrounds update. It can be safely ignored and even filterd out via the
warnings
module but ideally we don't have this lingering around.(Fixes #52)
async
but a bit weird forsync
when using thehttpx
library.