This is an automated email from the ASF dual-hosted git repository. uranusjr 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 6b2839942b Fix stacklevel for _log_state helper (#39596) 6b2839942b is described below commit 6b2839942b50d3c4b85d941381f8570cfd461eef Author: Daniel Standish <15932138+dstand...@users.noreply.github.com> AuthorDate: Mon May 13 20:42:07 2024 -0700 Fix stacklevel for _log_state helper (#39596) --- airflow/models/taskinstance.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airflow/models/taskinstance.py b/airflow/models/taskinstance.py index 3bc96ec01c..a27579b05e 100644 --- a/airflow/models/taskinstance.py +++ b/airflow/models/taskinstance.py @@ -1217,6 +1217,7 @@ def _log_state(*, task_instance: TaskInstance | TaskInstancePydantic, lead_msg: _date_or_empty(task_instance=task_instance, attr="execution_date"), _date_or_empty(task_instance=task_instance, attr="start_date"), _date_or_empty(task_instance=task_instance, attr="end_date"), + stacklevel=2, )