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.
This commit is contained in:
vitor-aignosi
2025-11-17 10:25:30 -03:00
parent 46fe88f69e
commit 91580f8255

View File

@@ -423,7 +423,7 @@ class MLFlow(SientiaMonitoring):
@activity.defn(name='get_reference_data') @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. Get reference data from the MLflow Model Registry.