def set_temp(self, value):
		key = frappe.generate_hash()
		frappe.cache().hset("temp", key, value)
		return key
Set a temperory value and return a key.
dataset/ETHPy150Open frappe/frappe/frappe/database.py/Database.set_temp