amoghrajesh commented on code in PR #48380:
URL: https://github.com/apache/airflow/pull/48380#discussion_r2014059866


##########
airflow-core/src/airflow/models/dagbag.py:
##########
@@ -470,9 +470,10 @@ def _load_modules_from_zip(self, filepath, safe_mode):
 
     def _process_modules(self, filepath, mods, file_last_changed_on_disk):
         from airflow.models.dag import DAG  # Avoid circular import
+        from airflow.sdk import DAG as SDKDAG

Review Comment:
   > models.dag.DAG inherits from sdk's DAG
   
   Right, let me try and do that. Its not needed as sdk DAG and models DAG will 
be covered by sdk DAG



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