I've been working on adding iter_... methods to complement the
existing get_... methods in the proxy database classes. For example,
living.py defines get_person_handles, so I'm adding
iter_person_handles. As I'm looking at the other objects, I'm trying
to reduce some duplication and (being the lazy guy that I am) some
work. I see that some methods are repeated verbatim between
filter.py, living.py, referenced.py and private.py. For example,
get_place_handles is the same in filter.py and living.py;
get_researcher is the same in all four.
I'd like to propose (and do the work) enhancing proxybase.py to
implement basic versions of these common routines, which then can be
overridden as needed in the derived classes. This will reduce
duplication and hopefully increase maintainability. Please let me
know if you agree with this approach.
PS Using this approach will make my other work easier since I may only
have to define iter... in the derived classes. Proxybase would then
contain methods like:
Get latest updates about Open Source Projects, Conferences and News.