SIENTIAPDE-1110
fix: handle missing input filters in predictions_batch function
This commit is contained in:
@@ -97,19 +97,19 @@ def predictions_batch(config: dict[str, Any]):
|
|||||||
"policy": "STOP",
|
"policy": "STOP",
|
||||||
"config": {}
|
"config": {}
|
||||||
}
|
}
|
||||||
}, config['input_filters']),
|
}, config.get('input_filters', [])),
|
||||||
"mlflow_transform_filters": overlap_filter_config({
|
"mlflow_transform_filters": overlap_filter_config({
|
||||||
"API_ERROR": {
|
"API_ERROR": {
|
||||||
"policy": "STOP",
|
"policy": "STOP",
|
||||||
"config": {}
|
"config": {}
|
||||||
}
|
}
|
||||||
}, config['mlflow_transform_filters']),
|
}, config.get('mlflow_transform_filters', [])),
|
||||||
"mlflow_predict_filters": overlap_filter_config({
|
"mlflow_predict_filters": overlap_filter_config({
|
||||||
"API_ERROR": {
|
"API_ERROR": {
|
||||||
"policy": "STOP",
|
"policy": "STOP",
|
||||||
"config": {}
|
"config": {}
|
||||||
}
|
}
|
||||||
}, config['mlflow_predict_filters']),
|
}, config.get('mlflow_predict_filters', [])),
|
||||||
"path_priority": path_priority
|
"path_priority": path_priority
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user