From 6f526fcb3c465302bd9dd75d9b8f983752a6d42b Mon Sep 17 00:00:00 2001 From: Renjith Date: Tue, 3 Dec 2024 16:19:44 +0000 Subject: [PATCH 1/2] bugfix: correct check for empty env var --- src/data_push.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data_push.py b/src/data_push.py index 9ee25ab..fdea38a 100644 --- a/src/data_push.py +++ b/src/data_push.py @@ -36,7 +36,7 @@ def dvc_remote_add(config): dvc_endpoint_url, ] ) - if secret_access_key is None: + if secret_access_key is None or secret_access_key == "": # Set dvc remote credentials # only when a valid secret access key is present logger.warning( From 103642288afb0857890e9ccfae5cbddf6e132abe Mon Sep 17 00:00:00 2001 From: Renjith Date: Tue, 3 Dec 2024 16:21:27 +0000 Subject: [PATCH 2/2] increment version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d2aa6e2..46f766b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bridgeai-regression-model-data-ingestion" -version = "0.2.1" +version = "0.2.2" description = "Data ingestion module for the house price regression model" authors = ["DC AI Team "] readme = "README.md"