don't need default arg in storage.py bc it's enforced by XarrayZarrRecipe defaults
MODIFY
pangeo_forge_recipes/storage.py
pangeo_forge_recipes/storage.py
@@ -147,7 +147,7 @@ class FlatFSSpecTarget(FSSpecTarget):
class CacheFSSpecTarget(FlatFSSpecTarget):
"""Alias for FlatFSSpecTarget"""
- def cache_file(self, fname: str, secrets: Optional[str] = None, **open_kwargs) -> None:
+ def cache_file(self, fname: str, secrets: Optional[str], **open_kwargs) -> None:
# check and see if the file already exists in the cache
logger.info(f"Caching file '{fname}'")
if self.exists(fname):

don't need default arg in storage.py bc it's enforced by XarrayZarrRecipe defaults