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


##########
airflow-core/src/airflow/serialization/serialized_objects.py:
##########
@@ -2346,7 +2346,7 @@ def _create_orm_dagrun(
     run.dag = dag
     # create the associated task instances
     # state is None at the moment of creation
-    run.verify_integrity(session=session, dag_version_id=dag_version.id)
+    run.verify_integrity(session=session, dag_version_id=dag_version.id if 
dag_version else None)

Review Comment:
   It's a keyword-only params, so passes mypy due to that.



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