@app.teardown_request
def shutdown_session(_=None):
    db_session.remove()


# Experiment counterbalancing code
# ================================
Shut down session route
dataset/ETHPy150Open NYUCCL/psiTurk/psiturk/experiment.py/shutdown_session