d3api/app.py
def create_app(config_name):
    """Application factory, used to create application
    """
    app = Flask('d3api')
    config_module = f"d3api.config.{config_name.capitalize()}Config"
    app.config.from_object(config_module)

    configure_extensions(app)
    configure_apispec(app)
    register_blueprints(app)
    CORS(app, resources=r'/*')
    return app
Application factory, used to create application
    
Application factory, used to create application
Application factory used to create application
def create_app(config_name):
    app = Flask('d3api')
    config_module = f"d3api.config.{config_name.capitalize()}Config"
    app.config.from_object(config_module)
    configure_extensions(app)
    configure_apispec(app)
    register_blueprints(app)
    CORS(app, resources=r'/*')
    return app
def create_app ( config_name ) : app = Flask ( 'd3api' ) config_module = f"d3api.config.{config_name.capitalize()}Config" app . config . from_object ( config_module ) configure_extensions ( app ) configure_apispec ( app ) register_blueprints ( app ) CORS ( app , resources = r'/*' ) return app
Application factory, used to create application
Application factory used to create application
"""Application factory, used to create application
    """
config_name