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/openlibrary-HEAD/openlibrary/core/ia.py   openlibrary(Download)
        return {}
 
get_metadata = cache.memcache_memoize(get_metadata, key_prefix="ia.get_metadata", timeout=5*60)
 
def process_metadata_dict(metadata):

src/o/p/openlibrary-HEAD/openlibrary/core/inlibrary.py   openlibrary(Download)
 
# cache the result for an hour in memcache
_get_libraries_memoized = cache.memcache_memoize(_get_libraries, "inlibrary._get_libraries", timeout=60*60)
 
def _get_default_library():