Re: [sqlalchemy] How to identify that an InstrumentedAttribute or its ColumnProperty are read-only?

2012-12-12 Thread Peter Bunyan
Thank you so much. Wonderful! -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To view this discussion on the web visit https://groups.google.com/d/msg/sqlalchemy/-/wcjW6WJRVccJ. To post to this group, send email to sqlalchemy@googlegroups.com. To

Re: [sqlalchemy] How to identify that an InstrumentedAttribute or its ColumnProperty are read-only?

2012-12-12 Thread Michael Bayer
On Dec 12, 2012, at 10:07 AM, Peter Bunyan wrote: > Much like FormAlchemy, I am trying to update my model from a post in a > generic manner. I'd like to find out if an Attribute(InstrumentedAttribute) > or its associated ColumnProperty is read-only. (please excuse ridiculous > example) > > cl

[sqlalchemy] How to identify that an InstrumentedAttribute or its ColumnProperty are read-only?

2012-12-12 Thread Peter Bunyan
Much like FormAlchemy, I am trying to update my model from a post in a generic manner. I'd like to find out if an Attribute(InstrumentedAttribute) or its associated ColumnProperty is read-only. (please excuse ridiculous example) class Foo(Base): id = Column(Integer, primary_key=True)