From 91580f82551237c5ddf7398744de6b9b187b7b8c Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Mon, 17 Nov 2025 10:25:30 -0300 Subject: [PATCH] SIENTIAPDE-1273 Refactor return type of get_reference_data method in MLFlow class to improve type specificity. Changed from a list of dictionaries with Hashable keys to a generic list of dictionaries for enhanced clarity in data handling. --- laborious/activities/mlflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laborious/activities/mlflow.py b/laborious/activities/mlflow.py index 129fb75..4d542c5 100644 --- a/laborious/activities/mlflow.py +++ b/laborious/activities/mlflow.py @@ -423,7 +423,7 @@ class MLFlow(SientiaMonitoring): @activity.defn(name='get_reference_data') - async def get_reference_data(self, input_data: dict[str, Any]) -> list[dict[Hashable, Any]] | None: + async def get_reference_data(self, input_data: dict[str, Any]) -> list[dict] | None: """ Get reference data from the MLflow Model Registry.