john-bodley commented on issue #8318: [SIP-24] Proposal to introduce Flask app factory pattern URL: https://github.com/apache/incubator-superset/issues/8318#issuecomment-544801430 @craig-rueda I believe if you add the following in `app.py`, ``` @click.group(cls=FlaskGroup, create_app=create_app) def cli() -> None: """ A utility script for the Superset application. """ ``` then having `FLASK_APP="superset.app"` should still work.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
