The answer is to use the adapter pattern. An explanation in Zope http://wiki.zope.org/zope3/ZopeGuideComponents
A great explanation of the adapter pattern is here: http://ginstrom.com/scribbles/2009/03/27/the-adapter-pattern-in-python/ An example using sqlalchemy; http://lists.repoze.org/pipermail/repoze-dev/2009-November/002292.html -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.