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

   Reinstatiating #24401 with more explaination and a test case. Fix #24338.
   
   When we reach the part to resolve XCom inputs, the scheduler already made 
sure the current task's upstreams "allow" this task to run (by logic in 
TriggerRuleDep). So if an upstream does not push a referenced XCom, it should 
be expected by the user, and therefore not be failed by
   Airflow.
   
   This change makes the XCom resolution return None instead of raising an 
exception. This is a reasonable choice since the XCom does not allow pushing 
None by design, and receiving None can therefore only mean that corresponding 
XCom push did not happen.


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