MCPcopy
hub / github.com/uber/petastorm / NullCache

Class NullCache

petastorm/cache.py:35–39  ·  view source on GitHub ↗

A pass-through cache implementation: value generating function will be called each.

Source from the content-addressed store, hash-verified

33
34
35class NullCache(CacheBase):
36 """A pass-through cache implementation: value generating function will be called each."""
37
38 def get(self, key, fill_cache_func):
39 return fill_cache_func()

Callers 4

make_readerFunction · 0.90
make_batch_readerFunction · 0.90
__init__Method · 0.90
test_null_cacheMethod · 0.90

Calls

no outgoing calls

Tested by 1

test_null_cacheMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…