@app.after_request
def shutdown_session(response):
    db_session.remove()
    return response
# }}}

# Context Processors {{{
End session, close database
dataset/ETHPy150Open jkossen/imposter/frontend.py/shutdown_session