If I understood this method, I might understand how to add custom data tier 
methods:

dBizobj.py, line 174

def _getCursorClass(self, main, secondary):
   class cursorMix(main, secondary):
     superMixin = main
     superCursor = secondary
     def __init__(self, *args, **kwargs):
       if hasattr(main, "__init__"):
         apply(main.__init__,(self,) + args, kwargs)
       if hasattr(secondary, "__init__"):
         apply(secondary.__init__,(self,) + args, kwargs)
   return  cursorMix

Why is it needed when you can just specify the 2 classes in a class definition?

Carl K


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to