Note
This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the user guide for the big picture.
biolearn.cache.NoCache#
- class biolearn.cache.NoCache#
A cache implementation that does nothing.
- __init__()#
- get(key)#
Retrieves an item from the cache.
- Parameters:
key (str) – The key for which the cache value is retrieved.
- Returns:
Always returns None, simulating a cache miss.
- Return type:
None
- store(key, value)#
Stores an item in the cache.
- Parameters:
key (str) – The key under which the value is stored.
value (any) – The value to be stored.
- clear()#
Clears all items from the cache.
- remove(key)#
Remove a specific entry from the cache