koi_net.components.cache
Classes
|
- class koi_net.components.cache.Cache(config, root_dir)[source]
Bases:
object- Parameters:
config (BaseNodeConfig)
root_dir (Path)
- config: BaseNodeConfig
- property directory_path
- list_rids(rid_types=None)[source]
- Return type:
list[RID]- Parameters:
rid_types (list[RIDType] | None)
- read(rid)[source]
Reads and returns CacheEntry from RID cache.
- Return type:
Bundle|None- Parameters:
rid (RID)
- root_dir: Path