adlfs icon indicating copy to clipboard operation
adlfs copied to clipboard

Unclosed client session

Open dv-rastogi opened this issue 3 years ago • 2 comments

Hi! With the following code:

from adlfs import AzureBlobFileSystem
fs = AzureBlobFileSystem(account_name=..., tenant_id=..., client_id=..., client_secret=...)
fs.ls("")

I am running into the following error:

Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fccf5206df0>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7fccf51fee20>, 26399.290502918)]']
connector: <aiohttp.connector.TCPConnector object at 0x7fccf4a4fa90>

Kindly look into this. Thanks!

dv-rastogi avatar Feb 03 '22 14:02 dv-rastogi

Is that the full traceback that's printed when running fs.ls("")?

TomAugspurger avatar Feb 03 '22 14:02 TomAugspurger

Yes. Also, the output of ls comes out to be the desired. Although, please correct me if I am wrong, it seems to be much of a warning rather than an error. Ref: here

dv-rastogi avatar Feb 03 '22 14:02 dv-rastogi