ashb commented on code in PR #46584:
URL: https://github.com/apache/airflow/pull/46584#discussion_r1952396335


##########
task_sdk/src/airflow/sdk/definitions/baseoperator.py:
##########
@@ -1418,6 +1418,11 @@ 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 inherits_from_skip_mixin(self):
+        """Used to determine if an Operator is inherited from SkipMixin."""
+        return getattr(self, "_is_skip_mixin", False)

Review Comment:
   If you put this on AbstractOperator then you don't need to change 
MappedOperator as much (just define the alias/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