This is an automated email from the ASF dual-hosted git repository.
potiuk 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 c07eb2850c3 change from class method to instance method call on rtif
(#56645)
c07eb2850c3 is described below
commit c07eb2850c3c0eb3da97b355a6421c5ed85b8b0b
Author: humit <[email protected]>
AuthorDate: Sun Oct 19 07:58:48 2025 +0900
change from class method to instance method call on rtif (#56645)
---
airflow-core/src/airflow/models/taskinstance.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow-core/src/airflow/models/taskinstance.py
b/airflow-core/src/airflow/models/taskinstance.py
index f0d6294b0a1..3146f6a4acf 100644
--- a/airflow-core/src/airflow/models/taskinstance.py
+++ b/airflow-core/src/airflow/models/taskinstance.py
@@ -1428,7 +1428,7 @@ class TaskInstance(Base, LoggingMixin):
from airflow.models.renderedtifields import RenderedTaskInstanceFields
rtif = RenderedTaskInstanceFields(ti=self, render_templates=False,
rendered_fields=rendered_fields)
- RenderedTaskInstanceFields.write(rtif, session=session)
+ rtif.write(session=session)
session.flush()
RenderedTaskInstanceFields.delete_old_records(self.task_id,
self.dag_id, session=session)