def get_value(self, key, generator=None, user=None, expires=False):
		original_key = key
		key = self.make_key(key, user)

		if key in frappe.local.cache:
			val = frappe.local.cache[key]

		else:
			val = None
			try:
				val = self.get(key)
			except redis.exceptions.ConnectionError:
				pass

			if val is not None:
				val = pickle.loads(val)

			if not expires:
				if val is None and generator:
					val = generator()
					self.set_value(original_key, val, user=user)

				else:
					frappe.local.cache[key] = val

		return val
Execute the ViewPEDeep worker
dataset/ETHPy150Open frappe/frappe/frappe/utils/redis_wrapper.py/RedisWrapper.get_value--crossover with--dataset/ETHPy150Open SuperCowPowers/workbench/workbench/workers/view_pe_deep.py/ViewPEDeep.execute