auyua9 opened a new pull request, #71530:
URL: https://github.com/apache/airflow/pull/71530

   ## Summary
   
   - initialize `self.unwrap_single` on the omitted-argument compatibility path
   - extend the existing parameterized unit test to cover the default path
   
   `SalesforceToGcsOperator` added an `unwrap_single=None` compatibility path 
in #61659, but that branch only assigned the local variable. `execute()` later 
reads `self.unwrap_single`, so the official system example, which omits the 
argument, can upload to GCS and then fail with `AttributeError`.
   
   ## Verification
   
   - `uv run --no-sync --project providers/google python -m compileall -q 
providers/google/src/airflow/providers/google/cloud/transfers/salesforce_to_gcs.py
 providers/google/tests/unit/google/cloud/transfers/test_salesforce_to_gcs.py`
   - `git diff --check`
   
   The focused pytest command was attempted with the repository's `uv` path but 
collection was blocked by missing test dependencies (`tests_common` initially, 
then `time_machine` after adding `devel-common/src` to `PYTHONPATH`).
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to