diff --git a/copernicusmarine/python_interface/get.py b/copernicusmarine/python_interface/get.py index 9af982f0..9ddea310 100644 --- a/copernicusmarine/python_interface/get.py +++ b/copernicusmarine/python_interface/get.py @@ -15,7 +15,7 @@ @deprecated_python_option(DEPRECATED_OPTIONS) @log_exception_and_exit def get( - dataset_id: Optional[str], + dataset_id: Optional[str] = None, dataset_version: Optional[str] = None, dataset_part: Optional[str] = None, username: Optional[str] = None, diff --git a/copernicusmarine/python_interface/subset.py b/copernicusmarine/python_interface/subset.py index 4211b416..f58cc3d9 100644 --- a/copernicusmarine/python_interface/subset.py +++ b/copernicusmarine/python_interface/subset.py @@ -25,7 +25,7 @@ @deprecated_python_option(DEPRECATED_OPTIONS) @log_exception_and_exit def subset( - dataset_id: Optional[str], + dataset_id: Optional[str] = None, dataset_version: Optional[str] = None, dataset_part: Optional[str] = None, username: Optional[str] = None,