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

Clean up storage layer #1238

Merged
merged 6 commits into from
Aug 15, 2022
Merged

Clean up storage layer #1238

merged 6 commits into from
Aug 15, 2022

Conversation

danlamanna
Copy link
Contributor

Fixes #344.

This just moves storage operations to their storage backend instead of if/else switching throughout the rest of the codebase. This should make it easier to reason about the rest of the code, and allow us to see exactly which features we're using of S3/minio at a glance.

Copy link
Member

@mvandenburgh mvandenburgh left a comment

Choose a reason for hiding this comment

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

Changes look correct to me, just one question

dandiapi/api/tests/test_zarr_upload.py Show resolved Hide resolved
@danlamanna
Copy link
Contributor Author

I want to wait to merge this until after #1220.

Copy link
Member

@jjnesbitt jjnesbitt left a comment

Choose a reason for hiding this comment

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

Looks good!

@danlamanna danlamanna merged commit d7b4d80 into master Aug 15, 2022
@danlamanna danlamanna deleted the refactor-storage-layer branch August 15, 2022 20:12
@dandibot
Copy link
Member

🚀 PR was released in v0.2.43 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RF storage backends code to provide uniform Storage interface to switch between implementations
4 participants