mallman-experian commented on issue #41505:
URL: https://github.com/apache/airflow/issues/41505#issuecomment-3144792919

   > > What's the replacement for the `DAG.tree_view()` method in Airflow 3?
   > 
   > I don't think there is a direct replacement, because the whole philosphy 
of what gets shown has changed. The UI is rebuild from scratch. If you think 
you miss something there - describe the actual use case you want to do (after 
trying to adapt realisation of the use case to the new UI) and describe what 
you wanted to do and how you imagine your use case might be implemented in the 
new philosophy.
   
   Hi @potiuk. I'm not referring to a UI element. I use the `tree_view` method 
to inspect a dag as part of its development. So I include a main guard like
   
   ```python
   if __name__ == "__main__":
       dag.tree_view()
   ```
   
   in my dag file, and when I run `python my_new_dag.py` it shows a tree view 
of the dag. This does not require deployment of the dag, whereas viewing a dag 
in the UI (obviously) requires deploying it.
   
   This is my use case.


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