Skip to content
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

from azure.storage.blob import BlobPermissions gives import error in azure_storage.py #877

Closed
shubham-lks opened this issue Apr 17, 2020 · 12 comments

Comments

@shubham-lks
Copy link

hi,

I am using azure-storage-blob==12.3.0. while sublcassing AzureStorage, it gives the following error:
cannot import name 'BlobPermissions'

I figured out that in new version this model "BlobPermission" has been renamed.

any solution to it?

Thanks,
Shubham

@patagoniapy
Copy link

Came to post the same issue.

@patagoniapy
Copy link

Do you happen to know what the model BlobPermission is now named?

@shubham-lks
Copy link
Author

shubham-lks commented Apr 18, 2020

I guess BlobSASPermissions. or they might have removed it also as they have done majore changes in 12.x. version.
Could you find any workaround? I wasted one whole day to nothing.

Do you happen to know what the model BlobPermission is now named?

@patagoniapy
Copy link

I guess BlobSASPermissions. its like one do only one thing.

Could you find any workaround? I wasted one whole day to nothing.

Do you happen to know what the model BlobPermission is now named?

It appears django-storages doesn’t support azure-sdk-12. In order to make it work you’d need to instal an older version of azure-sdk

@jschneier
Copy link
Owner

There is an open PR. On the next version I will merge that in and drop current support.

@shubham-lks
Copy link
Author

There is an open PR. On the next version I will merge that in and drop current support.

Great Thanks alot man. It would be a great help :) when can we expect the next version?

Thanks,
shubham

@shubham-lks
Copy link
Author

Hey! any update on this?

@cmberryau
Copy link

Looks like it got missed in the release

@anthonylauly
Copy link

Hey, any update about the next version, I am eagerly waiting for django storages to support azure-sdk-12

@surfgreendev
Copy link

Looking forward for an update as well!

@Vipin-Pootheri
Copy link

@jschneier
Any update on this issue ?

@jschneier
Copy link
Owner

Fixed by #805

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

No branches or pull requests

7 participants