Skip to content

Commit

Permalink
fix: datasetid not mandatory in py inter for consistency (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
renaudjester committed Oct 28, 2024
1 parent 205ff81 commit 6dffb2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion copernicusmarine/python_interface/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion copernicusmarine/python_interface/subset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6dffb2d

Please sign in to comment.