Replies: 1 comment 1 reply
-
Hello, Did you get any news? I would also like to access context task instance to be able to push into xcom from those callbacks. Regards, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Airflow Community,
I'm new to the community and I have a question regarding KubernetesPodOperator Callbacks: is it possible to access the Airflow context from within these callback functions? I'd like to access task id, dag id & a few other context variables in the callback function but it seems that context isn't passed as an argument when the callbacks are called. This seems like a straightforward enough thing to add and I'm willing to create a PR but wanted to check and see if I was missing something first before doing so. Please let me know!
Thank you,
Geoffrey
Beta Was this translation helpful? Give feedback.
All reactions