SIENTIAPDE-1222
Update prediction_store_policy handling in workflows - Added 'prediction_store_policy' to the input data handling in PredictionsBatch, ensuring a default value of 'lts:1' is used when not provided. - Modified FormatAndExportPrediction to directly use 'prediction_store_policy' from input_data, removing the default fallback. - Updated PredictionProcess to include 'prediction_store_policy' in the output data structure, ensuring consistency across workflows.
This commit is contained in:
@@ -115,7 +115,9 @@ class PredictionsBatch():
|
||||
}),
|
||||
'model_config': input_data.get('model_config', {}),
|
||||
'path_priority': input_data.get('path_priority', ['STOP', 'CONTINUE', 'REPEAT']),
|
||||
'opc_output_config': input_data.get('opc_output_config', {})
|
||||
'opc_output_config': input_data.get('opc_output_config', {}),
|
||||
'prediction_store_policy': input_data.get(
|
||||
'prediction_store_policy', 'lts:1')
|
||||
}
|
||||
|
||||
# Execute prediction process workflow
|
||||
|
||||
Reference in New Issue
Block a user