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

memoize_s3 graceful degradation #38

Open
atspaeth opened this issue Oct 4, 2023 · 0 comments
Open

memoize_s3 graceful degradation #38

atspaeth opened this issue Oct 4, 2023 · 0 comments
Assignees

Comments

@atspaeth
Copy link
Member

atspaeth commented Oct 4, 2023

Just a TODO item for myself before publishing some code that relies on it: the @memoize decorator from braingeneers.utils.memoize_s3 should be able to degrade gracefully (and just produce a warning) if the user doesn't have credentials to our S3 buckets.

Might be nice to also have an environment variable flag that asserts the existence of the remote cache, e.g. in k8s jobs, but default behavior should definitely be transparent.

@atspaeth atspaeth self-assigned this Oct 4, 2023
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

No branches or pull requests

1 participant