Thanks for your answer!

On Wed, Feb 29, 2012 at 9:26 PM, Michael Bayer <[email protected]> wrote:
> On Feb 29, 2012, at 2:23 PM, Daniel Nouri wrote:
> I don't totally buy that since you can just change the superclass as needed, 
> I'm not sure why that is a big deal.    If you're trying to build 
> my_special_library.MagicBaseClass, where people install my_special_library 
> somewhere and just extend from MagicBaseClass, I'm a little skeptical about 
> that approach.   I don't necessarily think it's a good idea that persistence 
> schemes should be imported by third party libraries.

Yes that's what I'm doing.  My magic base class is my CMS's Node
class.  I like that it's easy for add-on authors to derive from it,
and have the adjacency list etc. all set up already.

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.

Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
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.

Reply via email to