Open fmigneault opened 2 years ago
@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
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).