Spyne with Flask application context
I don't know how to get hold of that config object outside of the Flask context, but if you can, you can setattr anything to the Application instance which is acccessible via ctx.app within Spyne's @rpc context.
I have Flask application and need to add SOAP server functionality to integrate with some services. The Spyne library was choosen for SOAP. I found how to combine Flask and Spyne wsgi apps together using werkzeug.wsgi.DispatcherMiddleware. But now I faced with issue of getting Flask app config inside Spyne service views. I usually use current_app.config['FOO'] to get Flask app settings, but when request comes to Spyne wsgi app I have no Flask application context. I need an advice how to deal with it, please.