Re: [SQLObject] More about Inheritance
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2005-02-25 15:04:44
|
On Fri, Feb 25, 2005 at 11:55:43AM -0300, michelts wrote: > Can I inherit from SQLObject and set the _inheritable attribute? If I No. Ian have allowed me to apply the inheritance patch to the trunk only under condition that I would split it into a separate hierarchy of classes. That's the entire point of having the separate InheritableSQLObject. > inherits from InheritableSQLObject, would be a redundance? To some extent. This is an implementation detail that I haven't found a way to get rid of. I cannot set _inheritable = True in the InheritableSQLObject because it stops working. A long story with SQLObject metaclass... Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |