arthurai.core.alerts.validate_parameters_for_alert#

arthurai.core.alerts.validate_parameters_for_alert(metric_parameters)#

Check that the supplied parameter values for an alert rule only contain one value per parameter.

Parameters

metric_parameters (Dict[str, Any]) – mapping from metric parameter name to desired value

Raises

ArthurUserError – invalid parameter values supplied by user

Return type

Dict[str, Any]