potiuk commented on issue #53617:
URL: https://github.com/apache/airflow/issues/53617#issuecomment-3102587499

   I believe this is a documentation issue. Since we hav dag bundles, which are 
really only evaluated by dag file processor, there is no reason why the old 
`dag folder` should be added to PYTHONPATH for all kinds of `airflow` commands. 
   
   It **might** matter though for some commands (like dag test) that are 
supposed to be run in the environment where the dags are present (note that for 
example scheduler and api_server are not even supposed to have dag folder 
present). But even that is not supposed to change `airflow info` output IMHO. 
And in your "task" context, the **right** folder from which Dag is imported 
should indeed be already in the PYTHONPATH (otherwise many things would stop 
working
   
   @jedcunningham @ephraimbuddy -> Am I right with this assesment? 


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to