-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Do not use core Airflow Flask related resources in FAB provider #45441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,17 +25,17 @@ | |
| from typing import TYPE_CHECKING | ||
|
|
||
| from flask import Flask | ||
| from sqlalchemy.engine import make_url | ||
|
|
||
| import airflow | ||
| from airflow.configuration import conf | ||
| from airflow.exceptions import AirflowConfigException | ||
| from airflow.www.app import make_url | ||
| from airflow.www.extensions.init_appbuilder import init_appbuilder | ||
| from airflow.www.extensions.init_session import init_airflow_session_interface | ||
| from airflow.www.extensions.init_views import init_plugins | ||
| from airflow.providers.fab.www.extensions.init_appbuilder import init_appbuilder | ||
| from airflow.providers.fab.www.extensions.init_session import init_airflow_session_interface | ||
| from airflow.providers.fab.www.extensions.init_views import init_plugins | ||
|
|
||
| if TYPE_CHECKING: | ||
| from airflow.www.extensions.init_appbuilder import AirflowAppBuilder | ||
| from airflow.providers.fab.www.extensions.init_appbuilder import AirflowAppBuilder | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @vincbeck We don't have Is there an alternative method we should use?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it still happening? The solution would be to copy over
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
|
|
||
| @cache | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.