This is an automated email from the ASF dual-hosted git repository.
vincbeck 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 0448569f0a3 Refactor import statement for Session to use
sqlalchemy.orm (#57586)
0448569f0a3 is described below
commit 0448569f0a350c8b94924cdd462406133c407c3c
Author: Aaron Chen <[email protected]>
AuthorDate: Fri Oct 31 06:07:02 2025 -0700
Refactor import statement for Session to use sqlalchemy.orm (#57586)
---
.../openlineage/src/airflow/providers/openlineage/plugins/listener.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/providers/openlineage/src/airflow/providers/openlineage/plugins/listener.py
b/providers/openlineage/src/airflow/providers/openlineage/plugins/listener.py
index 78c3fffda89..bd1931e3ca9 100644
---
a/providers/openlineage/src/airflow/providers/openlineage/plugins/listener.py
+++
b/providers/openlineage/src/airflow/providers/openlineage/plugins/listener.py
@@ -54,8 +54,9 @@ from airflow.stats import Stats
from airflow.utils.state import TaskInstanceState
if TYPE_CHECKING:
+ from sqlalchemy.orm import Session
+
from airflow.sdk.execution_time.task_runner import RuntimeTaskInstance
- from airflow.settings import Session
if sys.platform == "darwin":
from setproctitle import getproctitle