You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/10/22 04:35:19 UTC

[GitHub] [incubator-superset] john-bodley commented on issue #8318: [SIP-24] Proposal to introduce Flask app factory pattern

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org