ashb commented on a change in pull request #12745:
URL: https://github.com/apache/airflow/pull/12745#discussion_r533691190



##########
File path: airflow/serialization/serialized_objects.py
##########
@@ -432,6 +437,9 @@ def deserialize_operator(cls, encoded_op: Dict[str, Any]) 
-> BaseOperator:
             if not hasattr(op, field):
                 setattr(op, field, None)
 
+        # Used to determine if an Operator is inherited from DummyOperator
+        setattr(op, "_is_dummy", bool(encoded_op.get("_is_dummy")))

Review comment:
       ```suggestion
           setattr(op, "_is_dummy", bool(encoded_op.get("_is_dummy", False)))
   ```
   
   To load existing s10n blobs.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to