Skip to content

Fix deprecation warning for BranchMixIn#47856

Merged
kaxil merged 1 commit into
apache:mainfrom
astronomer:move-deprecation
Mar 17, 2025
Merged

Fix deprecation warning for BranchMixIn#47856
kaxil merged 1 commit into
apache:mainfrom
astronomer:move-deprecation

Conversation

@kaxil

@kaxil kaxil commented Mar 17, 2025

Copy link
Copy Markdown
Member

Before:

/opt/airflow/providers/standard/src/airflow/providers/standard/operators/python.py:46 DeprecationWarning: The `airflow.operators.branch.BranchMixIn` class is deprecated. Please use `'airflow.providers.standard.operators.branch.BranchMixIn'`.

This is fixed by this PR.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Before:

```
/opt/airflow/providers/standard/src/airflow/providers/standard/operators/python.py:46 DeprecationWarning: The `airflow.operators.branch.BranchMixIn` class is deprecated. Please use `'airflow.providers.standard.operators.branch.BranchMixIn'`.
```

This is fixed by this PR.
@kaxil kaxil merged commit d0bcc02 into apache:main Mar 17, 2025
@kaxil kaxil deleted the move-deprecation branch March 17, 2025 11:19
agupta01 pushed a commit to agupta01/airflow that referenced this pull request Mar 21, 2025
Before:

```
/opt/airflow/providers/standard/src/airflow/providers/standard/operators/python.py:46 DeprecationWarning: The `airflow.operators.branch.BranchMixIn` class is deprecated. Please use `'airflow.providers.standard.operators.branch.BranchMixIn'`.
```

This is fixed by this PR.
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
Before:

```
/opt/airflow/providers/standard/src/airflow/providers/standard/operators/python.py:46 DeprecationWarning: The `airflow.operators.branch.BranchMixIn` class is deprecated. Please use `'airflow.providers.standard.operators.branch.BranchMixIn'`.
```

This is fixed by this PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants