Skip to content

Instantly share code, notes, and snippets.

View objcode's full-sized avatar

Sean McQuillan objcode

  • Mountain View, CA
View GitHub Profile
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.