NilsJPWerner commented on issue #52413:
URL: https://github.com/apache/airflow/issues/52413#issuecomment-3019256638

   > I have tried this example and dag processor reads the file (it is part of 
the DagBundle), so from this point the dag_discovery_safe_mode works. But there 
are no dags discovered in the file. Once I have added # airflow in the file, 
the dag was discovered, but it was broken due to ImportError (it did not know 
the module include). Did you make any extra steps to make the import folder 
visible.
   
   Sorry I had screwed up the paths in the example. `dags/test_dag.py` should be
   ```
   from include.create_dag import create_dag
   
   create_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