jroachgolf84 commented on code in PR #66595:
URL: https://github.com/apache/airflow/pull/66595#discussion_r3312907259
##########
airflow-core/src/airflow/triggers/base.py:
##########
@@ -297,6 +299,13 @@ class BaseEventTrigger(BaseTrigger):
supports_triggerer_queue: bool = False
+ def __init__(self, **kwargs):
+ super().__init__(**kwargs)
+
+ # Injected by the triggerer before run() is called; mirrors how
trigger_id is set
+ self.watched_assets: list[AssetUniqueKey] | None = None
+ self.asset_states: AssetStateAccessors | None = None
Review Comment:
I think that's possible. I think we'd really only need `self.asset_states`?
--
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]