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

fix: improve the compression api of vaults #22

Merged
merged 3 commits into from
Mar 12, 2024

Conversation

callumtilbury
Copy link
Contributor

Previously we stored info about the vault compression in the saved metadata. This is unnecessary, as compression details need only be specified once, when the vault is being created. If we are loading, we can get this info from the datastore itself. This is more versatile :)

flashbax/vault/vault.py Outdated Show resolved Hide resolved
@callumtilbury
Copy link
Contributor Author

Updated after @EdanToledo feedback :)

Copy link

@jcformanek jcformanek left a comment

Choose a reason for hiding this comment

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

LGTM

@callumtilbury callumtilbury merged commit 2b8354d into main Mar 12, 2024
3 checks passed
@callumtilbury callumtilbury deleted the fix/improved-vault-compression-api branch March 12, 2024 13:59
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.

3 participants