I'm successfully able to update a row in my SQLAlchemy-driven database (using the answers to How to update SQLAlchemy row entry?). Before I'm happy, I want to do some validation. Specifically, I want to
make sure that the field exists in this table (I think I can do this with
hasattr
)make sure that the field is not a primary key