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/02/24 00:00:23 UTC

[GitHub] [airflow] kaxil commented on issue #7517: [AIRFLOW-6817] Lazy-load `airflow.DAG` to keep user-facing API untouched

kaxil commented on issue #7517: [AIRFLOW-6817] Lazy-load `airflow.DAG` to keep user-facing API untouched
URL: https://github.com/apache/airflow/pull/7517#issuecomment-590132339
 
 
   ```
   ____________ ERROR collecting tests/api/client/test_local_client.py ____________
   ImportError while importing test module '/opt/airflow/tests/api/client/test_local_client.py'.
   Hint: make sure your test modules/packages have valid Python names.
   Traceback:
   tests/api/client/test_local_client.py:26: in <module>
       from airflow.example_dags import example_bash_operator
   airflow/example_dags/example_bash_operator.py:23: in <module>
       from airflow import DAG
   E   ImportError: cannot import name '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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services