def get(self, key): value = ProxyBackend.get(self, key) assert isinstance(value, CachedValue) return value