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

Improve storage operations #956

Merged
merged 3 commits into from
Jul 25, 2022
Merged

Improve storage operations #956

merged 3 commits into from
Jul 25, 2022

Conversation

rylev
Copy link
Contributor

@rylev rylev commented Jul 22, 2022

This PR contains the following:

  • Improve the example for the get_account storage operation
  • Make find_blobs_by_tags a stream instead of future
  • Move find_blobs_by_tags into the azure_blob_stroage since it's blob specific and not general to all storage

@rylev rylev requested a review from bmc-msft July 22, 2022 09:23
Copy link
Contributor

@bmc-msft bmc-msft left a comment

Choose a reason for hiding this comment

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

Note:

Prior to this change, the operations that live in blob/operations could be summarized as "For a given blob, do these things" and the operations that live in container/operations could be summarized as "For a given container, do these things".

While find_blobs_by_tags is finds blobs, it operates on an account, not a blob.

@rylev rylev force-pushed the improve-account branch from f168e0d to 04b1b0c Compare July 25, 2022 09:52
@rylev
Copy link
Contributor Author

rylev commented Jul 25, 2022

@bmc-msft I moved the operation to the "service" module which seems to be the right place for it to live.

@rylev rylev merged commit 868d1de into Azure:main Jul 25, 2022
@rylev rylev deleted the improve-account branch July 25, 2022 10:24
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