[sqlalchemy] Read only property

2010-08-29 Thread Petr Kobalíček
Hi devs, is there a simple way how to make an ORM property read only? I need to fetch the column from database so it will be accessible through the mapped class, but I need that the property will be never updated back to the database (in case I add the object to the session and do commit).

Re: [sqlalchemy] Read only property

2010-08-29 Thread Michael Bayer
On Aug 29, 2010, at 10:00 AM, Petr Kobalíček wrote: Hi devs, is there a simple way how to make an ORM property read only? I need to fetch the column from database so it will be accessible through the mapped class, but I need that the property will be never updated back to the database (in