shuxiang opened a new issue #4149: specify blureprints can't import modules from superset URL: https://github.com/apache/incubator-superset/issues/4149 ### Steps to reproduce according to https://superset.incubator.apache.org/installation.html#blueprints , i specify my blueprints superset_config.py: from simple_mod import simple_page BLUEPRINTS = [simple_page] simple_mod: from flask import Blueprint from superset.models.core import KeyValue simple_page = Blueprint('simple_page', __name__, template_folder='templates') @simple_page.route('/', defaults={'page': 'index'}) @simple_page.route('/<page>') def show(page): return 'ok' the problem is when I try to import some modules from superset, blueprints load in superset/__init__.py but when import, superset/__init__.py will execute. What i want to do is customizing some functions, add new api. Is there any way to solve this problem?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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
