-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Labels
Description
From the PyPI docs:
The AzureBlobFileSystem accepts all of the Async BlobServiceClient arguments.
But after debugging while my retry configuration is not propagated
In [32]: b = fsspec.filesystem('az', account_name='account', anon=False, retry_total=8)
In [33]: b.service_client._pipeline._impl_policies[10]
Out[33]: <azure.storage.blob._shared.policies_async.ExponentialRetry at 0x114fdaea0>
In [34]: b.service_client._pipeline._impl_policies[10].total_retries
Out[34]: 3
I read the code and it seems that creating the BlobServiceClient is completely oblivious to the AzureBlobFileSystem kwargs
https://github.com/fsspec/adlfs/blob/main/adlfs/spec.py#L465
It seems like this is not intended, or did I understand something wrong?
It feels like it should be enough to pass **self.kwargs to the BlobServiceClient constructors, but I am not sure.