Skip to content

Fix: @async_cached decorator does not respect key_hashers parameter #96

Description

@proboscis

---\nMigrated from CyberAgentAILab/pinjected#217\nOriginally created by @proboscis on null\n\n---\n\nThe @async_cached decorator has a bug where the key_hashers parameter is not properly respected. The CustomKeyHasher receives the wrong signature (wrapper function signature instead of original function signature), preventing proper parameter name mapping. See branch fix/async-cached-key-hashers-proper for the fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions