I'm using Quart 0.19.3 and quart-session 2.1.0. After starting the following minimal sample
from quart import Quart, session
from quart_session import Session
app = Quart(__name__)
app.config['SESSION_TYPE'] = 'redis'
app.config['SESSION_URI'] = 'redis://127.0.0.1:6379'
Session(app)
@app.route('/')
async def hello():
session["foo"] = "bar"
return "session key 'foo' set"
@app.route('/foo')
async def foo():
return session.get("foo", "session key 'foo' not found")
app.run()
I'm getting the following error:
"quart_session/sessions.py", line 34, in __init__
super(ServerSideSession, self).__init__(**initial or {})
TypeError: SecureCookieSession.__init__() got an unexpected keyword argument '_permanent'
This is related to #15.