Skip to content

Commit

Permalink
CELE-119 fix: Add default dry_run value
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsobspinto committed Dec 19, 2024
1 parent ae68043 commit 1c97ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingestion/ingestion/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
logger = logging.getLogger(__name__)


def _done_message(dataset_name: str | None, dry_run: bool) -> str:
def _done_message(dataset_name: str | None, dry_run: bool = False) -> str:
"""Generate a completion message for the ingestion process."""
if dataset_name:
return f"==> Done {'upload simulation for' if dry_run else 'uploading'} dataset '{dataset_name}'! ✨"
Expand Down

0 comments on commit 1c97ab9

Please sign in to comment.