kaxil edited a comment 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 Travis failure: ``` ____________ 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: [email protected] With regards, Apache Git Services
