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

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

src/o/p/openshift-docker-registry-HEAD/registry/status.py   openshift-docker-registry(Download)
    try:
        cache.redis_conn.setex(key, 5, value)
        if value != cache.redis_conn.get(key):
            message = 'Set value is different from what was received'
    except Exception:

src/o/p/openshift-docker-registry-HEAD/lib/mirroring.py   openshift-docker-registry(Download)
            tag_path = store.tag_path(namespace, repository, kwargs['tag'])
 
        data = cache.redis_conn.get('{0}:{1}'.format(
            cache.cache_prefix, tag_path
        ))