Lee-W commented on code in PR #38674:
URL: https://github.com/apache/airflow/pull/38674#discussion_r1571987975


##########
airflow/models/baseoperator.py:
##########
@@ -1691,6 +1693,16 @@ def inherits_from_empty_operator(self):
         # of its subclasses (which don't inherit from anything but 
BaseOperator).
         return getattr(self, "_is_empty", False)
 
+    @property
+    def start_trigger(self) -> BaseTrigger | None:
+        """Trigger when deferring task."""
+        return getattr(self, "_start_trigger", None)

Review Comment:
   Yep, this is no longer needed after the initialization has been moved to 
`__init__`. I'll update it. Thanks!



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to