

def cache_key(*args, **kwargs):
    '\n    Base method for computing the cache key with respect to the given\n    arguments.\n    '
    key = ''
    for arg in args:
        if callable(arg):
            key += (':%s' % repr(arg))
        else:
            key += (':%s' % str(arg))
    return key

dataset/ETHPy150Open truemped/tornadotools/tornadotools/caching.py cache_key/original