def enable_local_cache(proxy,enabled=True):
    try:
        proxy.____local_cache__ = {} if enabled else None
    except:
        pass
    return proxy
Enables automatic local caching of function, method, class and module attributes on the given proxy.
dataset/ETHPy150Open sccn/SNAP/src/rpyc/utils/helpers.py/enable_local_cache