o-nikolas commented on code in PR #65269:
URL: https://github.com/apache/airflow/pull/65269#discussion_r3120904432


##########
task-sdk/src/airflow/sdk/execution_time/callback_supervisor.py:
##########
@@ -52,6 +72,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, and Assets, plus MaskSecret for the secrets masker.
+CallbackToSupervisor = Annotated[
+    GetAssetByName | GetAssetByUri | GetConnection | GetVariable | MaskSecret,

Review Comment:
   Cool, that all makes sense, and a separate PR sounds preferred.
   
   I still vote drop assets for now, and see if anyone asks for it. But I'm 
okay to be outvoted on that/disagree and commit.



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