This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CachingInterface (object): | |
def __init__(self): | |
"To be overridden by the sub-class." | |
raise Exception("not implemented") | |
def store(key, value, type='post'): | |
""" | |
Store a key/value pair in the cache. Returns a Deferred. | |