craig-rueda commented on code in PR #22201: URL: https://github.com/apache/superset/pull/22201#discussion_r1035166277
########## superset/databases/ssh_tunnel/commands/create.py: ########## @@ -20,16 +20,24 @@ from flask_appbuilder.models.sqla import Model from marshmallow import ValidationError + +from superset import app, is_feature_enabled Review Comment: Don't directly import app here. Instead, use `flask.current_app` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org