Here are the examples of the python api flask.request._session taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
0
View Complete Implementation : metamodel.py
Copyright MIT License
Author : daeken
Copyright MIT License
Author : daeken
def __getattr__(self, name):
return getattr(request._session, name)
0
View Complete Implementation : metamodel.py
Copyright MIT License
Author : daeken
Copyright MIT License
Author : daeken
def createLocalSession():
request._session = scoped_session(sessionmaker())
request._session.configure(bind=engine)