Skip to content

Add blob_exist? and container_exist? #11

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
Dec 10, 2024
Merged

Add blob_exist? and container_exist? #11

merged 1 commit into from
Dec 10, 2024

Conversation

JoeDupuis
Copy link
Member

Fixes #9

Add blob_exist? and container_exist?.

Those method do not raise like get_blob_properties(...).present? does and are less verbose.

get_container_properties doesn't raise (which is an issue since the api is not consistent), but I added container_exist? for consistency. Plus it's shorter!

@JoeDupuis JoeDupuis merged commit 88e538d into main Dec 10, 2024
1 check failed
@igosneves
Copy link
Contributor

Hi @JoeDupuis . Any plans for creating a new release with these new methods? They would be useful for my use case.
Thanks!

@JoeDupuis
Copy link
Member Author

@igosneves Just released 0.5.5

@JoeDupuis JoeDupuis deleted the blob-exist branch February 23, 2025 04:22
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.

Azure get_blob_properties not ideal to check for blob existence
2 participants