def _unbox(self, package):
        label, value = package
        if label == consts.LABEL_VALUE:
            return value
        if label == consts.LABEL_TUPLE:
            return tuple(self._unbox(item) for item in value)
        if label == consts.LABEL_LOCAL_REF:
            return self._local_objects[value]
        if label == consts.LABEL_REMOTE_REF:
            oid, clsname, modname = value
            if oid in self._proxy_cache:
                return self._proxy_cache[oid]
            proxy = self._netref_factory(oid, clsname, modname)
            self._proxy_cache[oid] = proxy
            return proxy
        raise ValueError("invalid label %r" % (label,))
Main loop for the loader.
dataset/ETHPy150Open sccn/SNAP/src/rpyc/core/protocol.py/Connection._unbox--crossover with--dataset/ETHPy150Open kivy/kivy/kivy/loader.py/LoaderBase.run