buzzfeed / caliendo

caliendo
MIT License
16 stars 5 forks source link

Dynamic parameter exceptions #50

Closed akellehe closed 10 years ago

akellehe commented 10 years ago

Currently when the parameters passed to cache change from one call to the next a new cache key is built.

Add an argument to the caliendo.patch.patch which is also passed to caliendo.facade.cache to specify which parameter arguments should not be used to generate cache keys.

This new argument to patch and cache should allow the user to specify which arguments to ignore both positionally and as keyword arguments.