immuneML.caching package
Submodules
immuneML.caching.CacheHandler module
- class immuneML.caching.CacheHandler.CacheHandler[source]
Bases:
object
- static add(params: tuple, caching_object, object_type: CacheObjectType = CacheObjectType.OTHER, cache_type=None)[source]
- static add_by_key(cache_key: str, caching_object, object_type: CacheObjectType = CacheObjectType.OTHER, cache_type=None)[source]
- static exists(params: tuple, object_type: CacheObjectType = CacheObjectType.OTHER, cache_type=None)[source]
- static memo(cache_key: str, fn, object_type: CacheObjectType = CacheObjectType.OTHER, cache_type=None)[source]
- static memo_by_params(params: tuple, fn, object_type: CacheObjectType = CacheObjectType.OTHER, cache_type=None)[source]