antonlin1 commented on code in PR #74852:
URL: https://github.com/apache/airflow/pull/74852#discussion_r4446463864
##########
airflow-core/src/airflow/triggers/base.py:
##########
@@ -469,6 +470,29 @@ def __repr__(self) -> str:
return f"TriggerEvent<{self.payload!r}>"
+class AssetTriggerEvent(TriggerEvent):
+ """
+ An asset update emitted by a watcher, optionally identifying a native
partition.
+
+ The partition key applies to every asset associated with the trigger. The
payload
+ remains available in each asset event's extras and to any deferred task
resumed
+ by the same trigger.
Review Comment:
thanks for good remark. Added here:
https://github.com/apache/airflow/pull/74852/changes/0a374f0e7182cb2699a50d753d8e44040f307fa8#diff-7540c98d1b71ef4fef300d4010e5f3bc10beb1787521555cebb8d6b78852d943R459-R482
--
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]