SIENTIAPDE-1110

Refactor metadata handling in PredictionProcess to improve clarity by explicitly naming the metadata key in the workflow execution parameters.
This commit is contained in:
vitor-aignosi
2025-06-27 10:20:28 -03:00
parent f76ae839a9
commit f1eba071aa

View File

@@ -162,7 +162,7 @@ class PredictionProcess():
await workflow.execute_child_workflow( await workflow.execute_child_workflow(
'format_and_export_prediction', 'format_and_export_prediction',
{ {
**metadata, 'metadata': metadata,
'path_flag': path_flag, 'path_flag': path_flag,
'data': response_data['content'], 'data': response_data['content'],
'prediction_confidence': confidence, 'prediction_confidence': confidence,