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 f6ed4be72f4 fix mypy type errors in test_connection.py (#56803)
f6ed4be72f4 is described below

commit f6ed4be72f479503cb78ce6404975c00a743d111
Author: rich7420 <[email protected]>
AuthorDate: Mon Oct 20 23:11:49 2025 +0800

    fix mypy type errors in test_connection.py (#56803)
    
    * fix mypy type errors in test_connection.py
    
    * fix ruff error
---
 airflow-core/tests/unit/models/test_connection.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/airflow-core/tests/unit/models/test_connection.py 
b/airflow-core/tests/unit/models/test_connection.py
index a11adad037b..63c9aac660d 100644
--- a/airflow-core/tests/unit/models/test_connection.py
+++ b/airflow-core/tests/unit/models/test_connection.py
@@ -32,8 +32,9 @@ from airflow.sdk.execution_time.comms import ErrorResponse
 from tests_common.test_utils.db import clear_db_connections
 
 if TYPE_CHECKING:
+    from sqlalchemy.orm import Session
+
     from airflow.models.team import Team
-    from airflow.settings import Session
 
 
 class TestConnection:

Reply via email to