Docs should mention that cache KEY_FUNCTION can be a callable
|Reported by:||anonymous||Owned by:||gregloy|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The cache docs currently state that:
- KEY_FUNCTION A string containing a dotted path to a function that defines how to compose a prefix, version and key into a final cache key.
However, it is also possible to specify a callable. I think this should be mentioned in the docs.
Change History (5)
comment:1 Changed 3 years ago by
|Triage Stage:||Unreviewed → Accepted|
|Type:||Uncategorized → Cleanup/optimization|