signatures

Yann Leboulanger asterix at lagaule.org
Sun Aug 26 14:06:48 PDT 2007


Hi all,

We have a problem in our project with signatres, and as I'm not an
expert in Dbus, I prefer to ask here.

Here is our python code :

   @dbus.service.method(INTERFACE, in_signature='s', out_signature='av')
   def list_contacts(self, account):
      result = dbus.Array([], signature='a{sv}')
      # Here we fill the array
      return result

out_signature for the func in 'av' and signature of the result var is a{sv}.

Should the out_signature be a{sv} too ?

thanks for your help
-- 
Yann



More information about the dbus mailing list