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 no-op cache implementation (always misses).

__init__()
get(key: str, category: str, version: str) Any

Retrieve a cache entry.

Parameters:
  • key – Unique key identifying the cache entry.

  • category – Cache category name.

  • version – Version string for invalidation.

Returns:

None always, indicating a cache miss.

store(key: str, value: Any, category: str, version: str) None

No-op store method.

Parameters:
  • key – Unique key identifying the cache entry.

  • value – Object to store.

  • category – Cache category name.

  • version – Version string for invalidation.

clear() None

Remove all cache entries (no-op).

Parameters:

None

remove(key: str) None

Remove cache entries matching the given key (no-op).

Parameters:

key – Unique key identifying entries to remove.