uranusjr commented on code in PR #38674:
URL: https://github.com/apache/airflow/pull/38674#discussion_r1571832173


##########
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)
+
+    @property
+    def next_method(self) -> str | None:
+        """Method to execute after finish deferring."""
+        return getattr(self, "_next_method", None)

Review Comment:
   Why do we not need to do the same for this attribute?



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