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


##########
airflow/serialization/serialized_objects.py:
##########
@@ -553,6 +553,7 @@ def serialize(
         elif isinstance(var, MappedOperator):
             return 
cls._encode(SerializedBaseOperator.serialize_mapped_operator(var), type_=DAT.OP)
         elif isinstance(var, BaseOperator):
+            var.needs_expansion = var.get_needs_expansion()

Review Comment:
   ```suggestion
               var._needs_expansion = var.get_needs_expansion()
   ```
   
   I think? (Why do the static checks not complain… I feel like I’m missing 
something.)



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