Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions airflow-core/src/airflow/operators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"ExternalPythonOperator": "airflow.providers.standard.operators.python.ExternalPythonOperator",
"BranchExternalPythonOperator": "airflow.providers.standard.operators.python.BranchExternalPythonOperator",
"BranchPythonVirtualenvOperator": "airflow.providers.standard.operators.python.BranchPythonVirtualenvOperator",
"get_current_context": "airflow.sdk.get_current_context",
},
"bash":{
"BashOperator": "airflow.providers.standard.operators.bash.BashOperator",
Expand Down
2 changes: 2 additions & 0 deletions airflow-core/src/airflow/utils/deprecation_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def add_deprecated_classes(
"""
Add deprecated class PEP-563 imports and warnings modules to the package.

Side note: It also works for methods, not just classes.

:param module_imports: imports to use
:param package: package name
:param override_deprecated_classes: override target classes with deprecated ones. If module +
Expand Down