From 388685df6e97b3abafd71f08ca6ff0b41a124e47 Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Tue, 18 Nov 2025 09:16:42 -0300 Subject: [PATCH] SIENTIAPDE-1273 Update image tag to 1.1.2 in values.yaml and refactor prediction data sorting in model_repository.py for improved clarity and consistency. --- laborious/utils/repository/model_repository.py | 4 ++-- values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/laborious/utils/repository/model_repository.py b/laborious/utils/repository/model_repository.py index 33366e6..395865e 100644 --- a/laborious/utils/repository/model_repository.py +++ b/laborious/utils/repository/model_repository.py @@ -723,7 +723,7 @@ class MLFlowRepository(SientiaMonitoring): prediction_data.index = input_index # Merge prediction data with retrain_dataset on index - prediction_data = pd.merge( + prediction_data = pd.merge( # NOSONAR retrain_dataset, prediction_data, left_index=True, right_index=True, how='left' ) @@ -734,7 +734,7 @@ class MLFlowRepository(SientiaMonitoring): prediction_data.reset_index(drop=True, inplace=True) - prediction_data.sort_values(by='timestamp', ascending=True, inplace=True) + prediction_data = prediction_data.sort_values(by='timestamp', ascending=True) return prediction_data diff --git a/values.yaml b/values.yaml index 5034e12..64988ab 100644 --- a/values.yaml +++ b/values.yaml @@ -11,7 +11,7 @@ image: # This sets the pull policy for images. pullPolicy: Always # Overrides the image tag whose default is the chart appVersion. - tag: "1.1.1" + tag: "1.1.2" 0# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ imagePullSecrets: