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:
@@ -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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user