This is not a bug but more a question/observation about BaseBranchOperator that was added in #5231
Both BranchPythonOperator and BranchSQLOperator inherit from BaseOperator and not from BaseBranchOperator
So what BaseBranchOperator is used for? only for custom user branching operator? It's a bit odd that Airflow has 2 branching operators that don't use the Base.
The interesting part is that it used to be the parent class of BranchSQLOperator in the previous path of sql_branch_operator.py but was changed for some reason.