eladkal commented on a change in pull request #20411:
URL: https://github.com/apache/airflow/pull/20411#discussion_r828890999
##########
File path: docs/apache-airflow/concepts/dags.rst
##########
@@ -314,7 +314,7 @@ The ``BranchPythonOperator`` can also be used with XComs
allowing branching cont
If you wish to implement your own operators with branching functionality, you
can inherit from :class:`~airflow.operators.branch.BaseBranchOperator`, which
behaves similarly to ``BranchPythonOperator`` but expects you to provide an
implementation of the method ``choose_branch``.
-As with the callable for ``BranchPythonOperator``, this method should return
the ID of a downstream task, or a list of task IDs, which will be run, and all
others will be skipped::
+As with the callable for ``BranchPythonOperator``, this method can return the
ID of a downstream task, or a list of task IDs, which will be run, and all
others will be skipped. It can also return None to skip all downstream task::
Review comment:
```suggestion
As with the callable for ``BranchPythonOperator``, this method can return
the ID of a downstream task, or a list of task IDs, which will be run, and all
others will be skipped. It can also return None to skip all downstream task:
```
--
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]