def set(self, key, value, timeout=None):

        if timeout == None:
            timeout = self.timeout

        cache.set(key, value, timeout)
Sets a key-value in the cache.
dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-tastypie/tastypie/cache.py/SimpleCache.set