

def __init__(self, ttl, cbname='callback', cache_key_method=cache_key):
    self.ttl = ttl
    self.cbname = cbname
    self.cache_key_method = cache_key_method
    self.cache = dict()
    self.func = None

dataset/ETHPy150Open truemped/tornadotools/tornadotools/caching.py Cache.__init__/original