[Telepathy] telepathy-python -- generating method decorators
danielle.madeley at collabora.co.uk
Sun Nov 8 12:32:09 PST 2009
On Sun, 2009-11-08 at 13:59 +0000, Jonny Lamb wrote:
> On Sun, Nov 08, 17:03:29 +1100, Danielle Madeley wrote:
> > One of the things when writing a D-Bus service in Python is that you
> > have to know the type signatures of the methods to pass to the
> > dbus.service.method decorator. This is something that's very easy to
> > typo, also something that's already stored in the spec.
> Well, unless I'm misunderstanding you, you don't have to type these
> out. If you subclass an object, its method decorators are still around
> on overridden methods. For example:
Ok, at this point I'm blaming Alban, who's python-telepathy handler
example does not do this.
Collabora Ltd., Melbourne, Australia
More information about the telepathy