I'm having a bit of problem with inheritance.
Because of @turbogears.expose() I can't seem to be able to do this:
class MyClass(ParentClass):
@turbogears.expose(self, args):
def foo(self):
d = super(MyClass, self).foo()
d.update(dict(bar='baz'))
return d
because of the double-decoration going on.
Is this kind of behaviour even possible? How do I access the original,
pre-decorated method in the parent?
--
Regards,
Stephen Thorne
Development Engineer
Scanned by the NetBox from NetBox Blue
(http://netboxblue.com/)