turbaszek commented on a change in pull request #8805:
URL: https://github.com/apache/airflow/pull/8805#discussion_r425101458



##########
File path: airflow/models/dag.py
##########
@@ -1468,6 +1468,10 @@ def create_dagrun(self,
         :param session: database session
         :type session: sqlalchemy.orm.session.Session
         """
+        # Resolve relationship between task set by XComArgs
+        for task in self.tasks:
+            task.set_xcomargs_dependencies()

Review comment:
       That's my main concern. I will add tests for serialization and see what 
can be done. That was my main concern, that we have to keep this logic in more 
than one place (dag bag and somewhere around dag creation without dag bag) 




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