cache
Provide an extension for caching.
Classes:
Cache
Bases: Extension
Define an extension base for caching.
Methods:
load
abstractmethod
Load the cache for given key.
Source code in src/rago/extensions/cache.py
21 22 23 24 | |
CacheFile
CacheFile(target_dir: Path)
Bases: Cache
Define a extra step for caching.
Methods:
-
get_file_path–Return the file path.
-
load–Load the cache for given key.
-
save–Load the cache for given key.
Source code in src/rago/extensions/cache.py
38 39 40 | |
get_file_path
Return the file path.
Source code in src/rago/extensions/cache.py
42 43 44 45 | |
load
Load the cache for given key.
Source code in src/rago/extensions/cache.py
47 48 49 50 51 52 | |