kaxil edited a comment on issue #7334: [AIRFLOW-6694] Fixed import to 
print_stuff in kubernetes tests (#7306)
URL: https://github.com/apache/airflow/pull/7334#issuecomment-581126464
 
 
   > I think the right change is to add "example_dags" to PYTHONPATH. I 
believe(?) this is the default behaviour for Airflow to have the dags folder in 
PYTHONPATH so that the relative imports work (or am I wrong about it ?)
   
   This is already the case with all our 1.10.* versions and works fine:
   
   
https://github.com/apache/airflow/blob/c8597cbf143b970ad3c7b0d62e3b44d1dfdc8afe/airflow/contrib/example_dags/example_kubernetes_executor_config.py#L26-L30

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

Reply via email to