◆ __init__()
def fiftyone_pipeline_engines.basic_dictionary_cache.BasicDictionaryCache.__init__ | ( | self | ) |
\r\n
A simple cache that stores its results in a dictionary.
def | __init__ (self) |
def fiftyone_pipeline_engines.basic_dictionary_cache.BasicDictionaryCache.__init__ | ( | self | ) |
def fiftyone_pipeline_engines.basic_dictionary_cache.BasicDictionaryCache.get_cache_value | ( | self, | |
key | |||
) |
Get the result stored in the cache or None @type key : string.
Reimplemented from fiftyone_pipeline_engines.datakeyed_cache.DataKeyedCache.
def fiftyone_pipeline_engines.basic_dictionary_cache.BasicDictionaryCache.set_cache_value | ( | self, | |
key, | |||
value | |||
) |
Add data to the cache under a key @type key : string.
Reimplemented from fiftyone_pipeline_engines.datakeyed_cache.DataKeyedCache.
fiftyone_pipeline_engines.basic_dictionary_cache.BasicDictionaryCache.cache |