Airflow Summit 2025 is coming October 07-09. Register now to secure your spot!

airflow.providers.fab.www.session

Classes

SessionExemptMixin

Exempt certain blueprints/paths from autogenerated sessions.

AirflowDatabaseSessionInterface

Session interface that exempts some routes and stores session data in the database.

AirflowSecureCookieSessionInterface

Session interface that exempts some routes and stores session data in a signed cookie.

Module Contents

class airflow.providers.fab.www.session.SessionExemptMixin(*args, **kwargs)[source]

Exempt certain blueprints/paths from autogenerated sessions.

serializer[source]
save_session(*args, **kwargs)[source]

Prevent creating session from REST API and health requests.

class airflow.providers.fab.www.session.AirflowDatabaseSessionInterface(*args, **kwargs)[source]

Bases: SessionExemptMixin, flask_session.sqlalchemy.SqlAlchemySessionInterface

Session interface that exempts some routes and stores session data in the database.

class airflow.providers.fab.www.session.AirflowSecureCookieSessionInterface(*args, **kwargs)[source]

Bases: SessionExemptMixin, flask.sessions.SecureCookieSessionInterface

Session interface that exempts some routes and stores session data in a signed cookie.

Was this entry helpful?