SIENTIAPDE-1712
Update Gates and FormatAndExportPrediction classes to use 'last_timestamp' for improved data handling - Modified the Gates class to utilize 'last_timestamp' when only one row is present, ensuring accurate timestamp assignment. - Updated the FormatAndExportPrediction class to replace 'timestamp' with 'last_timestamp' in the output data structure.
This commit is contained in:
@@ -101,7 +101,7 @@ class FormatAndExportPrediction:
|
||||
{
|
||||
**metadata,
|
||||
'data': data,
|
||||
'timestamp': input_data['timestamp'],
|
||||
'last_timestamp': input_data['last_timestamp'],
|
||||
'model_id': input_data['model_id'],
|
||||
'prediction_confidence': prediction_confidence,
|
||||
'prediction_store_policy': input_data['prediction_store_policy'],
|
||||
|
||||
Reference in New Issue
Block a user