def deliver(obj, conn):
    if isproxy(obj):
        raise TypeError("can't deliver proxies")
    if orig_isinstance(obj, function):
        globals = conn.remote_conn._local_namespace
        dumped = _dump_function(obj)
        return conn.modules[__name__]._load_function(dumped, globals)
    else:
        return conn.modules.cPickle.loads(pickle.dumps(obj, pickle.HIGHEST_PROTOCOL))
Check if switch machine should be filtered.
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/site-packages/Rpyc/Utils/Helpers.py/deliver--crossover with--dataset/ETHPy150Open openstack/compass-core/compass/db/models.py/SwitchMachine.filtered