models/printing_model.py
def update_rec_pass(cls, id, rec_pass):
        """Updates the receive pass/fail for an entry"""
        obj = cls.query.filter_by(id=id).first()
        obj.rec_pass = rec_pass
        db.session.commit()
Updates the receive pass/fail for an entry
Updates the receive pass/fail for an entry
Updates the receive pass / fail for an entry
def update_rec_pass(cls, id, rec_pass):
        obj = cls.query.filter_by(id=id).first()
        obj.rec_pass = rec_pass
        db.session.commit()
def update_rec_pass ( cls , id , rec_pass ) : obj = cls . query . filter_by ( id = id ) . first ( ) obj . rec_pass = rec_pass db . session . commit ( )
Updates the receive pass/fail for an entry
Updates the receive pass / fail for an entry
"""Updates the receive pass/fail for an entry"""
cls
id
rec_pass