You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "kaxil (via GitHub)" <gi...@apache.org> on 2026/08/05 14:08:06 UTC

Re: [PR] Fix TypeError clearing a DAG run when a queued-at deadline interval is stored as JSON [airflow]

kaxil commented on code in PR #70370:
URL: https://github.com/apache/airflow/pull/70370#discussion_r3721247558


##########
airflow-core/src/airflow/models/taskinstance.py:
##########
@@ -248,10 +248,26 @@ def _recalculate_dagrun_queued_at_deadlines(
     if not results:
         return
 
+    # Local imports to avoid a circular import between models and serialization.
+    from airflow.sdk.definitions.deadline import VariableInterval

Review Comment:
   I don't like the SDK import here



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org