Initializes a new FileCache instance.
def __init__(self, cache_path):
...
| Parameter |
Type |
Description |
| cache_path |
str |
Relative or absolute path where document cache will be stored. |
| Raises |
Description |
ValueError |
If cache_path is None. |
Initializes a new instance of the FileCache class.
def __init__(self, cache_path, cache_sub_folder):
...
| Parameter |
Type |
Description |
| cache_path |
str |
Relative or absolute path where document cache will be stored. |
| cache_sub_folder |
str |
The sub-folder to append to cache_path. |
| Raises |
Description |
ValueError |
If cache_sub_folder is None. |
We value your opinion. Your feedback will help us improve our documentation.