Skip to content

Conversation

@fmigneault
Copy link

@fmigneault fmigneault commented Dec 7, 2021

This PR is not as complete or extensive as #202, but provides minimal implementation that fulfills the use case I'm facing.
It partially addresses #201.

This allows to decorate a function with some parameters to be ignored when creating the cache key that will match following calls.
It allows to group together some operations where a parameter is important for the calculation of the function, but is not strictly required to map the call to the cached result. This is particularly useful in situation where the parameter cannot be cached (not serializable).

@fmigneault
Copy link
Author

@bbangert
Hi. Is it possible to consider this PR?
Without this kind of functionality, I am not able to integrate beaker into my services.
I have used by patch in requirements, but this blocks me from using the official beaker for deploying to PyPI (disallows used of direct URL references).
Thanks

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.

1 participant