◆ get_cache_value()
def pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.datakeyed_cache.DataKeyedCache.get_cache_value | ( | self, | |
cachekey | |||
) |
Get data from the cache @type key : string.
- Parameters
-
- key - : The cache key to lookup @type value : mixed
- key - : None , or the stored data
Reimplemented in pipeline-python.fiftyone_pipeline_engines.tests.test_engines.TestCache, pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.lru_cache.LRUEngineCache, and pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.basic_dictionary_cache.BasicDictionaryCache.
◆ set_cache_value()
def pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.datakeyed_cache.DataKeyedCache.set_cache_value ( self, cachekey, value ) Place data in the cache @type key : string.
- Parameters
-
- key - : The cache key to store data under @type value : mixed
- key - : The value to save in the cache
Reimplemented in pipeline-python.fiftyone_pipeline_engines.tests.test_engines.TestCache, pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.basic_dictionary_cache.BasicDictionaryCache, and pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.lru_cache.LRUEngineCache.