Beispiel #1
0
def after_request(response):
    db_session.remove()
    return response
Beispiel #2
0
def shutdown_session(exception=None):
    db_session.remove()