Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/d/j/django-cachebot-0.4.1/cachebot/queryset.py   django-cachebot(Download)
        # cache the results   
        invalidation_dict = {}
        if cache.add(self.result_key, results, conf.CACHE_SECONDS):
 
            invalidation_dict.update(dict([(key, self.result_key) for key in self.get_invalidation_keys(results)]))

src/d/j/django-cachebot-HEAD/cachebot/queryset.py   django-cachebot(Download)
        # cache the results   
        invalidation_dict = {}
        if cache.add(self.result_key, results, conf.CACHE_SECONDS):
 
            invalidation_dict.update(dict([(key, self.result_key) for key in self.get_invalidation_keys(results)]))