def flush( obj ):
    sa_session.add( obj )
    sa_session.flush()
def mark_obj_deleted( obj ):
    obj.deleted = True
    sa_session.add( obj )
    sa_session.flush()