[sqlalchemy] Re: any easy way to make a just-out-of-db object readonly?

2008-12-05 Thread az
ah yes, i forgot that already have that in dbcook! but i dont think it will avoid adding things to collections. okay thanks i'll dig further. On Friday 05 December 2008 19:39, Andreas Jung wrote: > On 05.12.2008 17:10 Uhr, [EMAIL PROTECTED] wrote: > > i'm asking about SA-related stuff, i know

[sqlalchemy] Re: any easy way to make a just-out-of-db object readonly?

2008-12-05 Thread az
On Friday 05 December 2008 19:22, Michael Bayer wrote: > On Dec 5, 2008, at 11:10 AM, [EMAIL PROTECTED] wrote: > > i'm asking about SA-related stuff, i know how to handle the python > > side. how to "lock" relations, collections etc - how to make an > > instance readonly? > > > > and eventualy if

[sqlalchemy] Re: any easy way to make a just-out-of-db object readonly?

2008-12-05 Thread Andreas Jung
On 05.12.2008 17:10 Uhr, [EMAIL PROTECTED] wrote: > i'm asking about SA-related stuff, i know how to handle the python > side. how to "lock" relations, collections etc - how to make an > instance readonly? > > and eventualy if it is poosible after that to unlock that instance at > some point - so l

[sqlalchemy] Re: any easy way to make a just-out-of-db object readonly?

2008-12-05 Thread Michael Bayer
On Dec 5, 2008, at 11:10 AM, [EMAIL PROTECTED] wrote: > > i'm asking about SA-related stuff, i know how to handle the python > side. how to "lock" relations, collections etc - how to make an > instance readonly? > > and eventualy if it is poosible after that to unlock that instance at > some poi