ffinfo commented on a change in pull request #4396: [AIRFLOW-3585] - Add edges
to database
URL: https://github.com/apache/airflow/pull/4396#discussion_r257133187
##########
File path: airflow/models/__init__.py
##########
@@ -4012,17 +4088,55 @@ def create_dagrun(self,
conf=conf,
state=state
)
+
+ dag_model = DagModel.get_dagmodel(self.dag_id)
+
+ tis = self.create_tis(execution_date)
+ edges = self.create_edges(-1)
Review comment:
Ye this is a bit magic so I did make it now a name argument and adding a
comment why I do this. This is the graph_id, -1 is just a temp value, will be
set in a later stage
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services