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

Update blob_storage.py #15435

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mohamedmeqlad99
Copy link

This pull request enhances the Azure Blob Storage integration within the Prefect library by refining error handling, improving logging, and updating documentation for clarity and consistency. The following changes have been made:

Enhanced Error Handling: Added exception handling for ResourceNotFoundError in blob_storage_download and blob_storage_upload functions to provide clearer error messages.

Improved Logging: Updated logging messages to include additional context and details about errors and actions.
Refined Documentation: Enhanced docstrings for better readability and consistency across the functions.

Code Readability: Improved code structure and comments for better readability and maintainability.

zzstoatzz

This comment was marked as duplicate.


return blob


@task
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this appears to be a duplicate of the below function?

Copy link
Collaborator

@zzstoatzz zzstoatzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @mohamedmeqlad99 - thank you for the PR!

you'll need to install the pre-commit hooks as outlined here, which will catch stuff like the duplicate task definition blob_storage_list or non-conforming syntax

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.

2 participants