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
Hi,
when using the example from your README, the following warning occurs:
uplink_httpx/client.py:39: RuntimeWarning: coroutine 'AsyncClient.aclose' was never awaited pass RuntimeWarning: Enable tracemalloc to get the object allocation traceback
This is concerning the line
asyncio.create_task(self._session.aclose())
in client.py, the self._session.aclose() should be awaited, but then, also the whole __del__ function has to be async which creates further needs of changes. Is this because of newer versions of uplink and httpx, since the example was created?
The text was updated successfully, but these errors were encountered:
Hi,
when using the example from your README, the following warning occurs:
uplink_httpx/client.py:39: RuntimeWarning: coroutine 'AsyncClient.aclose' was never awaited pass RuntimeWarning: Enable tracemalloc to get the object allocation traceback
This is concerning the line
asyncio.create_task(self._session.aclose())
in client.py, the
self._session.aclose()
should be awaited, but then, also the whole__del__
function has to be async which creates further needs of changes. Is this because of newer versions of uplink and httpx, since the example was created?The text was updated successfully, but these errors were encountered: