Skip to content

Commit 67b5daf

Browse files
committed
fixup! Optimize subclasses of DummyOperator for Scheduling
1 parent c7dcc10 commit 67b5daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airflow/serialization/serialized_objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def deserialize_operator(cls, encoded_op: Dict[str, Any]) -> BaseOperator:
438438
setattr(op, field, None)
439439

440440
# Used to determine if an Operator is inherited from DummyOperator
441-
setattr(op, "_is_dummy", bool(encoded_op.get("_is_dummy")))
441+
setattr(op, "_is_dummy", bool(encoded_op.get("_is_dummy", False)))
442442

443443
return op
444444

0 commit comments

Comments
 (0)