From a848f20c6bc5363dea9e7388b69e386115166d34 Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Mon, 7 Jul 2025 15:56:33 -0300 Subject: [PATCH] SIENTIAPDE-1110 fix: handle missing input filters in predictions_batch function --- orchestrator/utils/orchestrator_functions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/orchestrator/utils/orchestrator_functions.py b/orchestrator/utils/orchestrator_functions.py index a40046c..270273a 100644 --- a/orchestrator/utils/orchestrator_functions.py +++ b/orchestrator/utils/orchestrator_functions.py @@ -97,19 +97,19 @@ def predictions_batch(config: dict[str, Any]): "policy": "STOP", "config": {} } - }, config['input_filters']), + }, config.get('input_filters', [])), "mlflow_transform_filters": overlap_filter_config({ "API_ERROR": { "policy": "STOP", "config": {} } - }, config['mlflow_transform_filters']), + }, config.get('mlflow_transform_filters', [])), "mlflow_predict_filters": overlap_filter_config({ "API_ERROR": { "policy": "STOP", "config": {} } - }, config['mlflow_predict_filters']), + }, config.get('mlflow_predict_filters', [])), "path_priority": path_priority }