def create_server(config=None, **_options):
 if config.has_option('server', 'modules'):
  modules = shlex.split(config.get('server', 'modules'))
  for module in modules:
   e = __import__(module)
 app = Flask(__name__.rsplit('.', 1)[0])
 app.register_blueprint(slicer, config=config, **_options)
 return app

def create_server ( config = None , ** _options ) : if config . has_option ( 'server' , 'modules' ) : modules = shlex . split ( config . get ( 'server' , 'modules' ) ) for module in modules : e = __import__ ( module ) app = Flask ( __name__ . rsplit ( '.' , 1 ) [ 0 ] ) app . register_blueprint ( slicer , config = config , ** _options ) return app
returns a flask server application .