You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ur...@apache.org on 2023/10/02 19:42:12 UTC

[airflow] branch main updated: Fix SesssionExemptMixin spelling (#34696)

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 <da...@amaforge.com>
AuthorDate: Mon Oct 2 12:42:03 2023 -0700

    Fix SesssionExemptMixin spelling (#34696)
    
    Co-authored-by: David Kalamarides <da...@capitalone.com>
---
 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."""