amoghrajesh commented on PR #55665:
URL: https://github.com/apache/airflow/pull/55665#issuecomment-3327715226

   @ashb I do not have such a dag, no. You have a good reasoning for not having 
to have Set and Get Xcom at parse time. Probably not even possible today(?) I 
was thinking of doing things like `XCom.delete` from a notifier code, along 
lines of:
   
   ```
     XCom.delete(
         key=x,
         dag_id=ti.dag_id,
         task_id=ti.task_id,
         run_id=ti.run_id,
         map_index=ti.map_index,
     )
   ```
   
   But i wouldnt want to support it unless its used / needed. Same for the 
others, a notifier could do: `ti.get_ti_count`?
   
   


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