From: Brian M. <br...@gr...> - 2009-07-09 18:40:24
|
> I see, but why do so many methods > raise NotImplemented in both > dbbase.py and proxybase.py? For example: > > set_family_list_column_order > > is in both places and raises NI in both. Since proxybase > inherits from > dbbase (and no one else does) what is the purpose of having > the same > method defined in both classes? I would speculate the reasons are: 1) Copy/paste convenience 2) To make it explicit There is no technical reason it would have to be that way. As Benny correctly pointed out: base.py should have inherited from dbbase. The arrangement of those classes was done in haste when we added the proxy classes and some things may not have been thought through all the way to their logical end. Feel free to fix it up as you see fit. ~Brian |