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

   ## Description
   fixes `BaseXCom.get_all()` to return an empty list instead of `None` when no 
XCom values are found, ensuring the implementation matches the documented 
behavior.
   the `BaseXCom.get_all()` method's docstring explicitly states:
   > "XComSequenceSliceResult can never have *None* in it, it returns an empty 
list if no values were found."
   
   However, the implementation returned `None` when `msg.root` was empty, which:
   Contradicted the documented behavior,Violated type system expectations 
(`XComSequenceSliceResult.root: list[JsonValue]`)
   
   i can be wrong pls tell me the changes if there is something needed.


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