From 1c97ab9e6d23f821e062cdfa8d0bf22c3d9f58c3 Mon Sep 17 00:00:00 2001 From: afonso pinto Date: Thu, 19 Dec 2024 11:39:14 +0000 Subject: [PATCH] CELE-119 fix: Add default dry_run value --- ingestion/ingestion/ingest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingestion/ingestion/ingest.py b/ingestion/ingestion/ingest.py index bf5259e5..ce39e49a 100644 --- a/ingestion/ingestion/ingest.py +++ b/ingestion/ingestion/ingest.py @@ -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}'! ✨"