uranusjr commented on code in PR #35475:
URL: https://github.com/apache/airflow/pull/35475#discussion_r1383032805


##########
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:
   We should just move the `DAG` import out to global, the `dag` module is 
already loaded globally anyway.



-- 
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