Asquator commented on code in PR #61643:
URL: https://github.com/apache/airflow/pull/61643#discussion_r2908676908


##########
task-sdk/src/airflow/sdk/definitions/context.py:
##########
@@ -42,6 +58,7 @@
 class Context(TypedDict, total=False):
     """Jinja2 template context for task rendering."""
 
+    callback_source: NotRequired[CallbackSource]

Review Comment:
   Why is it `NotRequired`? Doesn't every callback have a source?



##########
task-sdk/src/airflow/sdk/definitions/context.py:
##########
@@ -42,6 +58,7 @@
 class Context(TypedDict, total=False):
     """Jinja2 template context for task rendering."""
 
+    callback_source: NotRequired[CallbackSource]

Review Comment:
   Or is it because we inject it just before the execution?



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