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

   Fix `xcom_pull()` ignoring the `default` parameter when `map_indexes` is not 
set.
   
     When `map_indexes` is not explicitly provided, `xcom_pull()` iterates over 
each `task_id` and calls `XCom.get_all()`. If `get_all()` returns `None` 
(meaning no XCom exists for that task), the code was unconditionally appending 
`None` to the results list instead of the caller-supplied `default` value. The 
explicit `map_indexes` path did not have this bug.
   
     One-line fix: `xcoms.append(None)` → `xcoms.append(default)`.
   
     Closes #64295


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