Ejemplo n.º 1
0
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()
Ejemplo n.º 2
0
def shutdown_session(exception=None):
    db_session.remove()
Ejemplo n.º 3
0
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()
Ejemplo n.º 4
0
def shutdown_session(exception=None):
    from maraschino.database import db_session
    db_session.remove()
Ejemplo n.º 5
0
def shutdown_session(exception=None):
    db_session.remove()