mik-laj commented on a change in pull request #8581:
URL: https://github.com/apache/airflow/pull/8581#discussion_r420121822
##########
File path: backport_packages/setup_backport_packages.py
##########
@@ -251,6 +251,13 @@ def _remover(node: LN, capture: Capture, filename:
Filename) -> None:
.modify(add_provide_context_to_python_operator)
)
+ (
+ qry.select_function("BranchPythonOperator")
+ .is_call()
+ .is_filename(include=r"example_google_api_to_s3_transfer_advanced.py$")
+ .modify(add_provide_context_to_python_operator)
+ )
Review comment:
I think it's worth limiting changes and not changing all files
automatically. If we need to change another example, it will be easy to add
here., ..so LGTM
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]