def __getitem__(self, item):

        if not self._has_cache:
            self._generate_cache()

        return self._cache[item]
Decorator to persist in Redis all the data that needs to be persisted for
dataset/ETHPy150Open saeschdivara/ArangoPy/arangodb/orm/models.py/LazyQueryset.__getitem__--crossover with--dataset/ETHPy150Open ericrasmussen/pyramid_redis_sessions/pyramid_redis_sessions/util.py/persist