This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new 3f97d47f824 fix mypy (#62949)
3f97d47f824 is described below
commit 3f97d47f82426f09dce0d88f6161b3a5bf38d180
Author: Rahul Vats <[email protected]>
AuthorDate: Thu Mar 5 22:43:49 2026 +0530
fix mypy (#62949)
---
airflow-core/src/airflow/config_templates/airflow_local_settings.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/airflow-core/src/airflow/config_templates/airflow_local_settings.py
b/airflow-core/src/airflow/config_templates/airflow_local_settings.py
index 192c9cec526..3a547aa58ee 100644
--- a/airflow-core/src/airflow/config_templates/airflow_local_settings.py
+++ b/airflow-core/src/airflow/config_templates/airflow_local_settings.py
@@ -282,7 +282,9 @@ if REMOTE_LOGGING:
)
remote_task_handler_kwargs = {}
elif ELASTICSEARCH_HOST:
- from airflow.providers.elasticsearch.log.es_task_handler import
ElasticsearchRemoteLogIO
+ from airflow.providers.elasticsearch.log.es_task_handler import (
+ ElasticsearchRemoteLogIO, # type: ignore[attr-defined]
+ )
ELASTICSEARCH_WRITE_STDOUT: bool = conf.getboolean("elasticsearch",
"WRITE_STDOUT")
ELASTICSEARCH_WRITE_TO_ES: bool = conf.getboolean("elasticsearch",
"WRITE_TO_ES")