ashb commented on code in PR #46584:
URL: https://github.com/apache/airflow/pull/46584#discussion_r1952390810
##########
airflow/serialization/serialized_objects.py:
##########
@@ -1235,6 +1235,7 @@ def _serialize_node(cls, op: BaseOperator |
MappedOperator) -> dict[str, Any]:
# Used to determine if an Operator is inherited from EmptyOperator
serialize_op["_is_empty"] = op.inherits_from_empty_operator
+ serialize_op["_is_skip_mixin"] = op.inherits_from_skip_mixin
Review Comment:
Looking at how it's used, `if parent.inherits_from_skip_mixin`, I think `if
parent.is_conditional` would work there. That `is_conditional` name _might_ be
a little too generic though.
--
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]