[Chandler-dev] Getting rid of all __init__ methods (for Item subclasses)

Andi Vajda vajda at osafoundation.org
Thu Mar 22 14:36:02 PST 2007


On Thu, 22 Mar 2007, Phillip J. Eby wrote:

> So, should I use _setInitialValues() in schema.Item.__init__ to do the 
> attribute setting?  It seems like there may need to be more collaboration 
> between schema.Item and repository.item.Item in order to enable the behavior 
> I'm trying to add.

How about passing in these initial values as keyword args to Repository's Item 
__init__() instead (as has been the case so far) ?

Andi..


More information about the chandler-dev mailing list