Skip to content

Issue: key_prefix Documented but Missing Implementation & Propagation to RedisCore #394

Description

@matteomorlack

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions