Hello, I have one method responsible for generate keys for cache based on the function parameters, like:
def get_cache_key(method, self, *args):
m = hashlib.md5()
key = m.hexdigest()
And some functions uses ram.cache decorator
def get_courses_by_year(self, year, campus):
I would like to pass key and a timeout value. Is it possible?
Thanks for your time