def get_resource(self, ref):
        if ':' in ref:
            ns, ref = ref.split(':', 1)
            resources = self.cache[self.namespaces[ns]]
            return resources[ref]
        return self[ref]
dataset/ETHPy150Open ardekantur/pyglet/contrib/scene2d/resource.py/Resource.get_resource/original