def shutdown_session(exception=None): """This function is called as soon as a session is shutdown and makes sure, that the db session is also removed.""" from maraschino.database import db_session db_session.remove()
def shutdown_session(exception=None): db_session.remove()
def shutdown_session(exception=None): """This function is called as soon as a session is shutdown and makes sure, that the db session is also removed.""" from maraschino.database import db_session db_session.remove()
def shutdown_session(exception=None): from maraschino.database import db_session db_session.remove()
def shutdown_session(exception=None): db_session.remove()