From 42565b59833815ecf4de43aaa7263b7da6ea899f Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Thu, 4 Sep 2025 15:39:27 -0300 Subject: [PATCH] SIENTIAPDE-1182 Update environment variables in values.yaml and enhance predictions_batch function in orchestrator_functions.py - Changed GITHUB_BRANCH to reflect the new task for adjusting laborious processes to capture timestamps from MLflow. - Added a new filter configuration for handling empty data in the predictions_batch function to improve error management. --- orchestrator/utils/orchestrator_functions.py | 4 ++++ values.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/orchestrator/utils/orchestrator_functions.py b/orchestrator/utils/orchestrator_functions.py index 90bfdfb..eeff899 100644 --- a/orchestrator/utils/orchestrator_functions.py +++ b/orchestrator/utils/orchestrator_functions.py @@ -200,6 +200,10 @@ def predictions_batch(config: dict[str, Any]): } }, config.get('input_filters', [])), "mlflow_transform_filters": overlap_filter_config({ + "EMPTY_DATA": { + "policy": "STOP", + "config": {} + }, "API_ERROR": { "policy": "STOP", "config": {} diff --git a/values.yaml b/values.yaml index 442dd0d..1e1ff41 100644 --- a/values.yaml +++ b/values.yaml @@ -151,7 +151,7 @@ env: - name: GITHUB_REPO_URL value: "git@github.com:Aignosi/sientia-dataops-orchestrator_temporal.git" - name: GITHUB_BRANCH - value: "SIENTIAPDE-1205-alterar-opc-para-assincrono" + value: "SIENTIAPDE-1182-ajustar-laborious-para-pegar-timestamp-da-resposta-do-mlflow" - name: PYTHON_APP value: "orchestrator.worker.worker"