This is an automated email from the ASF dual-hosted git repository.
gopidesu 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 df2f776cae6 Remove unused assignment dag_version_id from
expand_mapped_task (#59834)
df2f776cae6 is described below
commit df2f776cae6f0812436c212c1acbee3052519131
Author: GPK <[email protected]>
AuthorDate: Sat Dec 27 20:43:33 2025 +0000
Remove unused assignment dag_version_id from expand_mapped_task (#59834)
---
airflow-core/src/airflow/models/taskmap.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/airflow-core/src/airflow/models/taskmap.py
b/airflow-core/src/airflow/models/taskmap.py
index aec6991a755..0106b1a1470 100644
--- a/airflow-core/src/airflow/models/taskmap.py
+++ b/airflow-core/src/airflow/models/taskmap.py
@@ -217,7 +217,6 @@ class TaskMap(TaskInstanceDependencies):
task.log.debug("Deleting the original task instance: %s",
unmapped_ti)
session.delete(unmapped_ti)
state = unmapped_ti.state
- dag_version_id = unmapped_ti.dag_version_id
if total_length is None or total_length < 1:
# Nothing to fixup.