python-diskcache icon indicating copy to clipboard operation
python-diskcache copied to clipboard

Make memoized `__cache_key__` invertible

Open liammcinroy opened this issue 2 years ago • 0 comments

Changes the args_to_key construction so that it both produces unique keys for its different arguments and implements its inverse key_to_args. Adds test to check the these as inverses.

See also https://github.com/grantjenks/python-diskcache/issues/313

liammcinroy avatar Apr 16 '24 13:04 liammcinroy