SIENTIAPDE-1712

Update Gates and FormatAndExportPrediction classes to standardize timestamp usage

- Changed 'last_timestamp' to 'timestamp' in the Gates class for consistency in input data handling.
- Updated the FormatAndExportPrediction class to reflect the same change in the output data structure.
This commit is contained in:
vitor-aignosi
2026-03-25 12:45:44 -03:00
parent 5b4903fffa
commit 830dfe464e
2 changed files with 3 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ class FormatAndExportPrediction:
{
**metadata,
'data': data,
'last_timestamp': input_data['last_timestamp'],
'timestamp': input_data['timestamp'],
'model_id': input_data['model_id'],
'prediction_confidence': prediction_confidence,
'prediction_store_policy': input_data['prediction_store_policy'],