def enable_async_methods(proxy,enabled=True):
    try:
        proxy.____async_wrapper__ = async if enabled else None
    except:
        pass
    return proxy
Enables automatic asynchronous return values for remote methods on the given proxy.
dataset/ETHPy150Open sccn/SNAP/src/rpyc/utils/helpers.py/enable_async_methods