Bug 85374

Summary: Enh: support properties in dbus-python
Product: dbus Reporter: Andy Grover <agrover>
Component: pythonAssignee: Andy Grover <agrover>
Status: RESOLVED DUPLICATE QA Contact: D-Bus Maintainers <dbus>
Severity: enhancement    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
i915 platform: i915 features:

Description Andy Grover 2014-10-23 16:59:33 UTC
dbus-python does not support exporting properties on an object. It is possible to support org.freedesktop.DBus.Properties.Get, Set, and GetAll but properties also need to be reported via org.freedesktop.DBus.Introspectable.

It would be nice to support defining properties with a decorator just like @dbus.service.method works for methods. It would also be nice to support a way to add a list of properties that could be called in __init__, since typically there are a good number of them.
Comment 1 Marko Kohtala 2015-06-22 05:01:52 UTC

*** This bug has been marked as a duplicate of bug 26903 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.