ephraimbuddy commented on code in PR #42913:
URL: https://github.com/apache/airflow/pull/42913#discussion_r1820585032


##########
airflow/models/dag.py:
##########
@@ -3442,6 +3455,7 @@ def _get_or_create_dagrun(
         conf=conf,
         data_interval=data_interval,
         triggered_by=triggered_by,
+        dag_version_id=dag_version.id if dag_version else None,

Review Comment:
   This particular if else is necessary because of unit tests on dag, 
mappedoperator etc. We should be able to test those without creating a 
Dagversion



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

Reply via email to