josh-fell commented on pull request #18471:
URL: https://github.com/apache/airflow/pull/18471#issuecomment-925902196


   > > Instead of explicitly forbidding this, would it be reasonable to handle 
the None case and skip all the downstreams instead?
   > 
   > When would None be desired?
   
   I could understand users may not want the DAG to fail outright if the 
branching section is not critical path like with some feature engineering use 
cases I've seen.  It may be more intuitive to not have to create an empty 
branch to simply continue with the pipeline if an output doesn't need to be 
tracked.
   
   Could this be a configurable mode: fail or skip if no branches found?


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