Taragolis commented on code in PR #35475:
URL: https://github.com/apache/airflow/pull/35475#discussion_r1383040930
##########
airflow/dag_processing/processor.py:
##########
@@ -735,6 +735,8 @@ def execute_callbacks_without_dag(
@provide_session
def _execute_dag_callbacks(self, dagbag: DagBag, request:
DagCallbackRequest, session: Session):
+ from airflow.models.dag import DAG
Review Comment:
That was my first thought but just in case I decide to use local import here.
I will move it out of TYPE_CHECKING block
--
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]