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 it is poosible after that to unlock that instance at > > some point - so lock all the user-visible stuff but leave some > > flag "_locked" writable. > > you could perhaps override __setattribute__ yeah but what to do with collections... or should i override collectionclass... hmm.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---