-
Notifications
You must be signed in to change notification settings - Fork 1.5k
persistent dataset default cache_dir #2136
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Lines 136 to 142 in 45c6cf6
| def __init__( | |
| self, | |
| data: Sequence, | |
| transform: Union[Sequence[Callable], Callable], | |
| cache_dir: Optional[Union[Path, str]] = None, | |
| hash_func: Callable[..., bytes] = pickle_hashing, | |
| ) -> None: |
the default value of
cache_dir is None, which means no caching. this is somewhat unexpected for a caching based dataset.
Describe the solution you'd like
remove the default value so that the user has to provide a location for the cache files
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request