On Fri, Mar 2, 2012 at 5:49 AM, Fayaz Yusuf Khan <fa...@dexetra.com> wrote: > On Thursday 01 Mar 2012 1:27:30 PM Daniel Nouri wrote: >> Maybe I'll just make what seems to be the most common one to override, >> the 'title' attribute, underscore prefixed. That'll solve the problem >> at hand. > > This choice doesn't seem so extensible. Maybe, you should stick to the > "Special cases aren't special enough to break the rules." rule?
FWIW, I didn't go that way, but instead implemented an update-event handler that computes and sets the 'title' attribute. Does the job, and there's no breaking the rules. :-) Daniel -- 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 sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.