Exemple #1
0
def commit():
    """wrapper fn"""
    if utils.is_testing():
        Session.flush()
    else:
        Session.commit()
Exemple #2
0
def commit():
    """wrapper fn"""
    if utils.is_testing():
        Session.flush()
    else:
        Session.commit()