Bug 85374 - Enh: support properties in dbus-python
Summary: Enh: support properties in dbus-python
Status: RESOLVED DUPLICATE of bug 26903
Alias: None
Product: dbus
Classification: Unclassified
Component: python (show other bugs)
Version: git master
Hardware: Other All
: medium enhancement
Assignee: Andy Grover
QA Contact: D-Bus Maintainers
Depends on:
Reported: 2014-10-23 16:59 UTC by Andy Grover
Modified: 2015-06-22 05:01 UTC (History)
0 users

See Also:
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.