Commit 6fd0142
authored
Fix elasticsearch provider to use SDK imports for Airflow 3.2+ (#64931)
Update es_task_handler.py to import timezone and import_string from
airflow.sdk when running on Airflow 3.2+, with backwards-compatible
fallback to airflow.utils for older versions. Keep FileTaskHandler
and LoggingMixin imports from airflow.utils.log as they remain there.1 parent 666879c commit 6fd0142
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| 54 | + | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
0 commit comments