This is an automated email from the ASF dual-hosted git repository.
uranusjr 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 63945c7124 Fix SesssionExemptMixin spelling (#34696)
63945c7124 is described below
commit 63945c71241e7b1b278068e1786e610facd569e0
Author: David Kalamarides <[email protected]>
AuthorDate: Mon Oct 2 12:42:03 2023 -0700
Fix SesssionExemptMixin spelling (#34696)
Co-authored-by: David Kalamarides <[email protected]>
---
airflow/www/session.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/airflow/www/session.py b/airflow/www/session.py
index 4e23d212fe..763b909ae0 100644
--- a/airflow/www/session.py
+++ b/airflow/www/session.py
@@ -21,7 +21,7 @@ from flask.sessions import SecureCookieSessionInterface
from flask_session.sessions import SqlAlchemySessionInterface
-class SesssionExemptMixin:
+class SessionExemptMixin:
"""Exempt certain blueprints/paths from autogenerated sessions."""
def save_session(self, *args, **kwargs):
@@ -33,9 +33,9 @@ class SesssionExemptMixin:
return super().save_session(*args, **kwargs)
-class AirflowDatabaseSessionInterface(SesssionExemptMixin,
SqlAlchemySessionInterface):
+class AirflowDatabaseSessionInterface(SessionExemptMixin,
SqlAlchemySessionInterface):
"""Session interface that exempts some routes and stores session data in
the database."""
-class AirflowSecureCookieSessionInterface(SesssionExemptMixin,
SecureCookieSessionInterface):
+class AirflowSecureCookieSessionInterface(SessionExemptMixin,
SecureCookieSessionInterface):
"""Session interface that exempts some routes and stores session data in a
signed cookie."""