You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by js...@apache.org on 2026/03/23 21:36:56 UTC

(airflow) branch main updated: Fix conf import to common.compat in `ElasticsearchTaskHandler` (#64118)

This is an automated email from the ASF dual-hosted git repository.

jscheffl 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 19ce393c565 Fix conf import to common.compat in `ElasticsearchTaskHandler` (#64118)
19ce393c565 is described below

commit 19ce393c565210d4e0d617463fcf8f3723181606
Author: Elad Kalif <45...@users.noreply.github.com>
AuthorDate: Mon Mar 23 23:36:48 2026 +0200

    Fix conf import to common.compat in `ElasticsearchTaskHandler` (#64118)
    
    * Fix conf import to common.compat in `ElasticsearchTaskHandler`
    
    * Update providers/elasticsearch/pyproject.toml
    
    Co-authored-by: Jens Scheffler <95...@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Jens Scheffler <95...@users.noreply.github.com>
---
 .../src/airflow/providers/elasticsearch/log/es_task_handler.py          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/providers/elasticsearch/src/airflow/providers/elasticsearch/log/es_task_handler.py b/providers/elasticsearch/src/airflow/providers/elasticsearch/log/es_task_handler.py
index f063749e523..a6ce2df705a 100644
--- a/providers/elasticsearch/src/airflow/providers/elasticsearch/log/es_task_handler.py
+++ b/providers/elasticsearch/src/airflow/providers/elasticsearch/log/es_task_handler.py
@@ -41,8 +41,8 @@ from elasticsearch import helpers
 from elasticsearch.exceptions import NotFoundError
 
 import airflow.logging_config as alc
-from airflow.configuration import conf
 from airflow.models.dagrun import DagRun
+from airflow.providers.common.compat.sdk import conf
 from airflow.providers.elasticsearch.log.es_json_formatter import ElasticsearchJSONFormatter
 from airflow.providers.elasticsearch.log.es_response import ElasticSearchResponse, Hit, resolve_nested
 from airflow.providers.elasticsearch.version_compat import AIRFLOW_V_3_0_PLUS, AIRFLOW_V_3_2_PLUS