jgao54 edited a comment on issue #4389: [AIRFLOW-3583] Fix AirflowException 
import
URL: 
https://github.com/apache/incubator-airflow/pull/4389#issuecomment-450454429
 
 
   Both `from airflow import AirflowException` and `from airflow.exceptions 
import AirflowException` should work as AirflowException is imported in the 
init file. So this is not needed (but improves readability by beng less 
confusing). Since there are other modules using `from airflow import 
AirflowException` as well, thought is maybe convert all of them, or leave as is.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to