From f4ed3f096887735757a6aff9c59110f57a52ecaf Mon Sep 17 00:00:00 2001 From: threnjen Date: Wed, 16 Oct 2024 09:54:08 -0700 Subject: [PATCH] more descriptive processing --- utils/processing_functions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/processing_functions.py b/utils/processing_functions.py index f7a7cd5..24632a3 100644 --- a/utils/processing_functions.py +++ b/utils/processing_functions.py @@ -29,10 +29,13 @@ def save_file_local_first(path: str, file_name: str, data: Union[pd.DataFrame, dict]): file_path = f"{path}/{file_name}" + print(file_path) if IS_LOCAL: + print(f"Saving {file_name} to local") LocalFileHandler().save_file(file_path=file_path, data=data) if ENV == "prod": + print(f"Saving {file_name} to S3") S3FileHandler().save_file(file_path=file_path, data=data)