andrewgodwin opened a new issue #15140:
URL: https://github.com/apache/airflow/issues/15140


   It would be beneficial to larger/more complex DAGs to be able to label the 
dependency edges between tasks so that, in the graph view (and potentially 
other places), we can show this information to the user:
   
   
![image](https://user-images.githubusercontent.com/36182/113329516-e9ebc280-92da-11eb-92a1-2a0f5428780c.png)
   
   The proposed syntax for this would allow for use with both the `>>` style 
and `set_upstream` style of declaring dependencies:
   
   ```
   mean_height >> Label("Output") >> print_result
   mean_height .set_downstream(print_result, Label("Output"))
   ```
   
   There would be no runtime effect initially; it would just be for displaying 
and understanding the DAGs.
   
   I have a PR cooking for this, and will push a WIP of it and link it here 
shortly.


-- 
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:
us...@infra.apache.org


Reply via email to