feluelle commented on a change in pull request #8581: URL: https://github.com/apache/airflow/pull/8581#discussion_r417822601
########## 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: For now I added this specific case here. If we want to remove the `.is_filename` filter this should be a separate PR. WDYT @potiuk ? ---------------------------------------------------------------- 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: us...@infra.apache.org