Cache
A caching class that uses cachetools for TTL caching with an LRU eviction policy.
Source code in yeastdnnexplorer/interface/Cache.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
|
delete(key)
¶
Delete a key from the cache.
Source code in yeastdnnexplorer/interface/Cache.py
27 28 29 |
|
get(key, default=None)
¶
Get a value from the cache.
Source code in yeastdnnexplorer/interface/Cache.py
15 16 17 |
|
list()
¶
List all keys in the cache.
Source code in yeastdnnexplorer/interface/Cache.py
23 24 25 |
|
set(key, value)
¶
Set a value in the cache.
Source code in yeastdnnexplorer/interface/Cache.py
19 20 21 |
|