Skip to content

adlfs: don't use fsspec_loop for credentials #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2023
Merged

adlfs: don't use fsspec_loop for credentials #35

merged 1 commit into from
Jan 22, 2023

Conversation

efiop
Copy link
Contributor

@efiop efiop commented Jan 22, 2023

fsspec_loop got removed in the latest fsspec version, but adlfs also creates credentials in the main thread in https://github.com/fsspec/adlfs/blob/47f6be2ca978ea6781f16b43ebdab334697c9ca1/adlfs/spec.py#L279 , so looks like we could do the same thing here.

Fixes #34

fsspec_loop got removed in the latest fsspec version, but adlfs also creates credentials in the main thread in https://github.com/fsspec/adlfs/blob/47f6be2ca978ea6781f16b43ebdab334697c9ca1/adlfs/spec.py#L279 , so looks like we could do the same thing here.
@efiop efiop merged commit 0a344e1 into main Jan 22, 2023
@skshetry skshetry deleted the efiop-patch-1 branch March 22, 2024 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pull/repro: filesystem-related commands crash with ImportError (cannot import name 'fsspec_loop' from 'fsspec.asyn'`) for dvc[azure]
1 participant