This is an automated email from the ASF dual-hosted git repository.
ash pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 6d14ccd4441 Slight simplification to code (#54708)
6d14ccd4441 is described below
commit 6d14ccd44417e013c428c50346aea5b995c1d006
Author: Kyungjun Lee <[email protected]>
AuthorDate: Wed Aug 20 21:49:39 2025 +0900
Slight simplification to code (#54708)
---
airflow-core/src/airflow/models/serialized_dag.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/airflow-core/src/airflow/models/serialized_dag.py
b/airflow-core/src/airflow/models/serialized_dag.py
index 6444d5720de..2d9c65f8066 100644
--- a/airflow-core/src/airflow/models/serialized_dag.py
+++ b/airflow-core/src/airflow/models/serialized_dag.py
@@ -321,7 +321,6 @@ class SerializedDagModel(Base):
from airflow.sdk import DAG
self.dag_id = dag.dag_id
- dag_data = {}
if isinstance(dag, DAG):
dag_data = SerializedDAG.to_dict(dag)
else: