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
I'm using adlfs to read and write files from/to Azure Blob Storage, both using a Shared Key and a Shared Access Signature.
I'm testing my code using an azurite local container, and when I test access using a SK, I can pass the whole connection string and the AIOBlobServiceClient gets correctly initialized, using as Blob endpoint the localhost.
If I want to test the SAS authentication method, passing a sas token, there is currently no way in adlfs to specify a custom account_url, as it is directly computed in the do_connect method.
I would like to propose a PR exposing the account_url kwarg in the init of the class, please let me know if it makes sense!
The text was updated successfully, but these errors were encountered:
I’ve wanted this also, but the `__init__` method is already complicated. Can you think of a way to do this nicely without complicating the signature (much) more?
I'm using
adlfs
to read and write files from/to Azure Blob Storage, both using a Shared Key and a Shared Access Signature.I'm testing my code using an
azurite
local container, and when I test access using a SK, I can pass the whole connection string and the AIOBlobServiceClient gets correctly initialized, using as Blob endpoint thelocalhost
.If I want to test the SAS authentication method, passing a sas token, there is currently no way in
adlfs
to specify a customaccount_url
, as it is directly computed in thedo_connect
method.I would like to propose a PR exposing the
account_url
kwarg in the init of the class, please let me know if it makes sense!The text was updated successfully, but these errors were encountered: