Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix/superset_cli_app_loading' in…
Browse files Browse the repository at this point in the history
…to fix/superset_cli_app_loading
  • Loading branch information
ofekisr committed Nov 24, 2021
2 parents d1b812c + 4435486 commit a6048f3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions superset/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
from flask_appbuilder.api import BaseApi

from superset import app, appbuilder, config, security_manager
from superset.app import create_app
from superset.extensions import celery_app, db
from superset.utils import core as utils
from superset.utils.celery import session_scope
Expand Down Expand Up @@ -73,9 +72,7 @@ def normalize_token(token_name: str) -> str:


@click.group(
cls=FlaskGroup,
create_app=create_app,
context_settings={"token_normalize_func": normalize_token},
cls=FlaskGroup, context_settings={"token_normalize_func": normalize_token},
)
@with_appcontext
def superset() -> None:
Expand Down

0 comments on commit a6048f3

Please sign in to comment.