From 3b6a6f43da0ebf061bbee6de867f76e6f51af348 Mon Sep 17 00:00:00 2001 From: Ash Berlin-Taylor Date: Mon, 16 Dec 2024 14:39:37 +0000 Subject: [PATCH] Correct the Session argument's type hint in ApplessSecurityManager (#44962) In #33901 this was moved to a new file and mistakenly changed to flask_session. It's not clear to me why this didn't cause errors, but it was highlighted in my editor as an invalid type :shrug: --- airflow/www/security_appless.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/www/security_appless.py b/airflow/www/security_appless.py index f6f7f261be989..7996ed7ae7b61 100644 --- a/airflow/www/security_appless.py +++ b/airflow/www/security_appless.py @@ -21,7 +21,7 @@ from airflow.providers.fab.auth_manager.security_manager.override import FabAirflowSecurityManagerOverride if TYPE_CHECKING: - from flask_session import Session + from sqlalchemy.orm import Session class FakeAppBuilder: