SIENTIAPDE-1193

Refactor timestamp handling in CoreScouter workflow by updating to DATETIME_FORMAT_WITH_TZ, ensuring consistency with recent changes in datetime management.
This commit is contained in:
vitor-aignosi
2025-08-22 15:33:41 -03:00
parent 54c3dd25e9
commit 7bbfa4dbac

View File

@@ -5,7 +5,7 @@ with workflow.unsafe.imports_passed_through():
from typing import Any
from datetime import timedelta
from sientia_do.temporal.policies import retry_policy
from sientia_do.temporal.constants import DATETIME_FORMAT_MS_WITH_TZ
from sientia_do.temporal.constants import DATETIME_FORMAT_WITH_TZ
@workflow.defn(name="core_scouter")
@@ -85,7 +85,7 @@ class CoreScouter:
'data': held_data,
'timestamp_conversion': {
'column': 'timestamp',
'format': DATETIME_FORMAT_MS_WITH_TZ
'format': DATETIME_FORMAT_WITH_TZ
}
},
retry_policy=retry_policy,