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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]