SIENTIAPDE-1110
Refactor metadata handling in PredictionsBatch and PredictionProcess to improve clarity in input preparation.
This commit is contained in:
@@ -61,7 +61,7 @@ class PredictionsBatch():
|
|||||||
|
|
||||||
# Prepare input for prediction_process workflow
|
# Prepare input for prediction_process workflow
|
||||||
prediction_input = {
|
prediction_input = {
|
||||||
**metadata,
|
'metadata': metadata,
|
||||||
'data': data,
|
'data': data,
|
||||||
'schema': input_data['schema'],
|
'schema': input_data['schema'],
|
||||||
'table_name': input_data['table_name'],
|
'table_name': input_data['table_name'],
|
||||||
|
|||||||
@@ -235,7 +235,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': data,
|
'data': data,
|
||||||
'prediction_confidence': confidence,
|
'prediction_confidence': confidence,
|
||||||
|
|||||||
Reference in New Issue
Block a user