Skip to content

BaseBranchOperator isn't used anywhere #11931

@RosterIn

Description

@RosterIn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions