\r\n

51Degrees Pipeline Python  4.4

51Degrees Pipeline for Python

tests.test_engines.TestCache Class Reference

Inheritance diagram for tests.test_engines.TestCache:

[legend]

Collaboration diagram for tests.test_engines.TestCache:

[legend]

Public Member Functions

def  __init__ (self)
def  get_cache_value (self, key)
Get data from the cache @type key : string. More...
def  set_cache_value (self, key, value)
Place data in the cache @type key : string. More...

Public Attributes

 cache
 cacheHits

Constructor & Destructor Documentation

◆ __init__()

def tests.test_engines.TestCache.__init__ (   self )

Member Function Documentation

◆ get_cache_value()

def tests.test_engines.TestCache.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 from fiftyone_pipeline_engines.datakeyed_cache.DataKeyedCache.

◆ set_cache_value()

def tests.test_engines.TestCache.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 from fiftyone_pipeline_engines.datakeyed_cache.DataKeyedCache.

Member Data Documentation

◆ cache

tests.test_engines.TestCache.cache

◆ cacheHits

tests.test_engines.TestCache.cacheHits
On This Page