You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/10/15 03:59:52 UTC

[GitHub] [airflow] jasontr commented on issue #9722: Airflow can't import DAG in UI and logs, but manual DAG trigger works

jasontr commented on issue #9722:
URL: https://github.com/apache/airflow/issues/9722#issuecomment-708882057


   @BobasB Hi, I met the same situation and want to share some information. I did some experiments
   - new module in a directory existed before airflow started -> import succeed
   - new module in a directory created after airflow started -> import failure
   - new DAG file in a directory existed before airflow started -> import succeed
   - new DAG file in a directory created after airflow started -> import succeed
   For all these directories and files are under path `{AIRFLOW_HOME}/dags`
   
   In my opinion, DAG files can be scanned as single python scripts by airflow, but modules can not be.
   
   Hopefully, it can help you.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org