Skip to content

Commit

Permalink
Remove check for run_update.end_time as it is guaranteed to have a …
Browse files Browse the repository at this point in the history
…time zone
  • Loading branch information
aiakide committed Dec 16, 2024
1 parent 515ccfb commit 5fbb998
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/zenml/zen_stores/sql_zen_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -8640,10 +8640,6 @@ def _update_pipeline_run_status(
tzinfo=timezone.utc
)
)
if run_update.end_time.tzinfo is None:
run_update.end_time = run_update.end_time.replace(
tzinfo=timezone.utc
)

duration_time = (
run_update.end_time - pipeline_run.start_time
Expand Down

0 comments on commit 5fbb998

Please sign in to comment.