Open
Description
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?
Metadata
Metadata
Assignees
Labels
No labels