potiuk commented on issue #48145:
URL: https://github.com/apache/airflow/issues/48145#issuecomment-2764738948

   > At the moment this can be realized only through common files (not dags),
   
   This is misunderstanding how python imports work. 
   
   Common files can be kept in `dags` folder  is the right solution (you can 
even ignore those common files via .airflowignore) . Typical structure of your 
dag folder is even explained in the example here: 
https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/modules_management.html#typical-structure-of-packages
   
   You shoudl make sure to have only "common functions" stored in the common 
package, not another dag - becaue you are totally introducing ambiguity here 
(and it's you not airflow) by effectively importing same dag in two different 
places. 
   
   It's not a good idea to import one dag into another dag. 
   
   Closing as not actionable. 


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