You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/23 15:06:15 UTC

[GitHub] [airflow] josh-fell commented on pull request #18471: Improve error message for BranchPythonOperator when no task_id to follow

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org