Description
The README.rst explicitly mentions a key_prefix parameter, but it is not integrated into the global Params configuration, nor is it passed through the @cachier decorator to underlying storage backends (like the Redis core).
Proposed Fix
Leverage cachier's existing _update_with_defaults framework to properly handle global configurations and decorator overrides.
Expected Behavior
With this fix, users can natively utilize global defaults via cachier.set_global_params(key_prefix="...") or explicitly pass custom local overrides at the function decorator level.
Description
The
README.rstexplicitly mentions akey_prefixparameter, but it is not integrated into the globalParamsconfiguration, nor is it passed through the@cachierdecorator to underlying storage backends (like the Redis core).Proposed Fix
Leverage
cachier's existing_update_with_defaultsframework to properly handle global configurations and decorator overrides.Expected Behavior
With this fix, users can natively utilize global defaults via
cachier.set_global_params(key_prefix="...")or explicitly pass custom local overrides at the function decorator level.