kgskgs commented on code in PR #68947:
URL: https://github.com/apache/airflow/pull/68947#discussion_r3841270163


##########
airflow-core/src/airflow/models/serialized_dag.py:
##########
@@ -723,7 +723,7 @@ def write_dag(
                 )
             )
 
-        if dag_version and not has_task_instances:
+        if dag_version and not has_task_instances and serialized_dag_hash is 
not None:

Review Comment:
   I've updated the pr per your suggestions



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