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


   That is unlikely to happen soon IMHO. 
   
   It's a dificult one to pull if you consider how Python code is parsed, it 
would be next-to-impossible to find out which files to include extra and 
specifying them manually misses the point. 
   
   I also think Airflow is NOT good to show code other than DAG code - it's not 
"code browser" there is little value and high complexity to make a UI that 
would let you navigate between files etc. I think a much better approach would 
be to use another browser for your code and write a custom plugin in airflow to 
get the link to that browser. 
   
   For example if you have the code in Git and use GitSync, you could add a 
plugin to have a view where you redirect tto GitHub or GitLab UI. Even now 
GitHub (and I believe GitLab too) have automated detection of the linked code 
even in Python, so if you keep the code in the same repo you will be able to 
even navigate between DAG and imported code.
   
   Let me convert this one to discussion , as I do not think we will ever want 
to make it a feature (but If others think otherwise we can always convert it 
back to a feature).


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