I am trying to use beaker for session handling in my bottle based GAE app. The problem is that I need to run "app" here as the app
session_opts = {
'session.type': 'ext:google',
'session.auto': True,
}
app = beaker.middleware.SessionMiddleware(bottle.app(), session_opts)
then call
bottle.run(app=app)
but I can't because as it says in the example bottle app:
# Note: We don't need to call run() since our application is embedded within
# the App Engine WSGI application server.
So my question is how can I run the server with the beaker session middleware?