GitHub user perry2of5 added a comment to the discussion: end_date not set on ti 
in task success callback

Is there a spec saying what should be available in the task_instance when the 
notifiers (callbacks) are called from on_success_callback and 
on_failure_callback? The current behavior was a surprise to me, but I could see 
a valid argument that the task isn't complete until after the callbacks run.

With a spec, I'm willing to research and submit a PR is this is a deviation 
from the spec. I'm willing to work towards a spec if this is a gap others would 
like addressed.

Without a spec, my inclination is to just us the date and time the callback was 
invoked....



GitHub link: 
https://github.com/apache/airflow/discussions/57109#discussioncomment-14765373

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to