models/printing_model.py
def update_notes(cls, id, notes):
        """Updates the notes for an entry"""
        obj = cls.query.filter_by(id=id).first()
        obj.notes = notes
        db.session.commit()
        return None
Updates the notes for an entry
Updates the notes for an entry
Updates the notes for an entry
def update_notes(cls, id, notes):
        obj = cls.query.filter_by(id=id).first()
        obj.notes = notes
        db.session.commit()
        return None
def update_notes ( cls , id , notes ) : obj = cls . query . filter_by ( id = id ) . first ( ) obj . notes = notes db . session . commit ( ) return None
Updates the notes for an entry
Updates the notes for an entry
"""Updates the notes for an entry"""
cls
id
notes