ferruzzi commented on code in PR #65269:
URL: https://github.com/apache/airflow/pull/65269#discussion_r3112392300


##########
task-sdk/src/airflow/sdk/execution_time/callback_supervisor.py:
##########
@@ -52,6 +73,15 @@ class _BundleInfoLike(Protocol):
 log: FilteringBoundLogger = 
structlog.get_logger(logger_name="callback_supervisor")
 
 
+# The set of messages that a callback subprocess can send to the supervisor.
+# This is a minimal subset of ToSupervisor: read-only access to Connections,
+# Variables, XCom, and Assets, plus MaskSecret for the secrets masker.
+CallbackToSupervisor = Annotated[
+    GetAssetByName | GetAssetByUri | GetConnection | GetVariable | GetXCom | 
MaskSecret,

Review Comment:
   Thinking about it over the weekend,. I'm going to drop XCom from this PR.  
If folks ask for it, we can add it later.



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