Change time format for the created_at of the DBT cloud pipeline status (#17916)

Co-authored-by: Suman Maharana <sumanmaharana786@gmail.com>
This commit is contained in:
Aldwyn Cabarrubias 2024-09-23 17:20:48 +08:00 committed by SumanMaharana
parent a7ce422ad4
commit 312b584836

View File

@ -314,7 +314,7 @@ class DbtcloudSource(PipelineServiceSource):
timestamp=Timestamp(
datetime_to_ts(
datetime.strptime(
pipeline_details.created_at, "%Y-%m-%dT%H:%M:%S.%f%z"
pipeline_details.created_at, "%Y-%m-%d %H:%M:%S.%f%z"
)
if pipeline_details.created_at
else None