vincbeck commented on code in PR #56813:
URL: https://github.com/apache/airflow/pull/56813#discussion_r2445200577


##########
airflow-core/src/airflow/api_fastapi/core_api/routes/public/backfills.py:
##########
@@ -214,7 +215,7 @@ def cancel_backfill(backfill_id: NonNegativeInt, session: 
SessionDep) -> Backfil
 
     # this is in separate transaction just to avoid potential conflicts
     session.refresh(b)
-    b.completed_at = timezone.utcnow()
+    b.completed_at = cast("UtcDateTime", timezone.utcnow())

Review Comment:
   This wont be needed when https://github.com/apache/airflow/pull/56780 is 
merged



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to