@staticmethod<EOL><INDENT>def get_from_cache(key):<DEDENT>
try:<EOL><INDENT>value = cache.get(key)<EOL>return json.loads(value), key if value else None<EOL><DEDENT>except Exception as e:<EOL><INDENT>return None<EOL><DEDENT>
Args:
    key (str):
Return:
    (dict): from json string