Replies: 3 comments 2 replies
-
|
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
-
|
Looks like this is implemented in the latest versions: |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Implemented. See above. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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