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/07/26 19:14:29 UTC

[GitHub] [incubator-superset] micimize opened a new issue #7934: Add a post-init extension point for blueprints, etc

micimize opened a new issue #7934: Add a post-init extension point for blueprints, etc
URL: https://github.com/apache/incubator-superset/issues/7934
 
 
   **Problem:**
   #4149 - you have to do hacky in-function imports to import from superset in blueprints to avoid circular imports.
   
   **Solution:**
   We add a generic extension point post-init, such as an optional `superset_post_init.py` with a `post_init(app) -> app`, that handles extensions
   
   **Alternatives:**
   * Rework the way the config or internal library structure is loaded so that imports are not an issue
   * Make a specific entry point `blueprints.py`
   * Do nothing and tell users to deal with it and use the workaround
   

----------------------------------------------------------------
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