airflow.providers.fab.www.views

Classes

FabIndexView

A simple view that inherits from FAB index view.

Functions

show_traceback(error)

Show Traceback for a given error.

not_found(error)

Show Not Found on screen for any error in the Webserver.

get_safe_url(url)

Given a user-supplied URL, ensure it points to our web server.

Module Contents

class airflow.providers.fab.www.views.FabIndexView[source]

Bases: flask_appbuilder.IndexView

A simple view that inherits from FAB index view.

The only goal of this view is to redirect the user to the Airflow 3 UI index page if the user is authenticated. It is impossible to redirect the user directly to the Airflow 3 UI index page before redirecting them to this page because FAB itself defines the logic redirection and does not allow external redirect.

index()[source]
airflow.providers.fab.www.views.show_traceback(error)[source]

Show Traceback for a given error.

airflow.providers.fab.www.views.not_found(error)[source]

Show Not Found on screen for any error in the Webserver.

airflow.providers.fab.www.views.get_safe_url(url)[source]

Given a user-supplied URL, ensure it points to our web server.

Was this entry helpful?