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


##########
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:
   I wonder if we could call this `_is_branching` or `_is_conditional` or 
something -- thinking ahead a bit if we have DAGs defined in other languages 
(be it YAML or anything else) I'm not sure naming it as skip_mixin makes sense 
anymore.



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