ashb commented on code in PR #22909:
URL: https://github.com/apache/airflow/pull/22909#discussion_r847653426
##########
airflow/serialization/serialized_objects.py:
##########
@@ -1081,12 +1081,12 @@ def deserialize_dag(cls, encoded_dag: Dict[str, Any])
-> 'SerializedDAG':
setattr(task.subdag, 'parent_dag', dag)
if isinstance(task, MappedOperator):
- for d in (task.mapped_kwargs, task.partial_kwargs):
- for k, v in d.items():
- if not isinstance(v, _XComRef):
- continue
+ expansion_kwargs = task._get_expansion_kwargs()
Review Comment:
Ah, yeah that makes sense. When the LocalTaskJob checks this it has the real
DAG.
It's just my change here now makes it be accessed via verify_integrity
--
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]