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

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

src/c/o/content-io-1.0.1/cio/pipeline/pipes/cache.py   content-io(Download)
 
        if nodes:
            cache.set_many(nodes)
 
        return response
 
    def publish_response(self, response):
        nodes = dict((node.uri, node.content) for uri, node in response.iteritems())
        cache.set_many(nodes)

src/c/o/content-io-HEAD/cio/pipeline/pipes/cache.py   content-io(Download)
 
        if nodes:
            cache.set_many(nodes)
 
        return response
 
    def publish_response(self, response):
        nodes = dict((node.uri, node.content) for uri, node in response.iteritems())
        cache.set_many(nodes)