def persistent_memoize(target):
    target_hash = hash(getsource(target))
    cache = PersistentCache(target_hash)

    return memoize(target, cache=cache)
Memoize target function, keep persistent cache in state
dataset/ETHPy150Open duerrp/pyexperiment/pyexperiment/utils/persistent_memoize.py/persistent_memoize