python-dbus-next
python-dbus-next copied to clipboard
🚌 The next great DBus library for Python with asyncio support
I get a resourcewarning problem, the message_bus's socket not closed when called disconnect. Now, I add two lines in disconnect function, please check it. @acrisci ``` def disconnect(self): """Disconnect the...
The example from the docs on the [high-level service interface](https://python-dbus-next.readthedocs.io/en/latest/high-level-service/index.html) currently fails with: ```python Traceback (most recent call last): File "example.py", line 65, in asyncio.get_event_loop().run_until_complete(main()) File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in...
fixes #108 The async method calls on the glib.ProxyInterface class lacked the ability to unpack a single result while the sync version did do that. This commit moves unpacking code...
Hello again! When calling methods that return a single result, the asynchronous glib.ProxyInterface functions return a list with a single item. The synchronous versions of those methods correctly return just...
Documentation here: https://python-dbus-next.readthedocs.io/en/latest/high-level-client/glib-proxy-interface.html It says: > To asynchronously get or set a property, provide a callback that takes an Exception as the first argument. If the call completed successfully, error...
Right now there seems to be limited support for programmatically traversing hierarchically nested introspection Node trees as doing so currently requires iteration over all interfaces and then all methods/signals/properties in...
Hi, I need to encode the result of a dbus message with json. How can I make the dbus object type serializable? for now I am doing (from your example...
Many of us have grown accustomed to writing loop = asyncio.get_event_loop() which, at least up to now, does one of 2 different things: * If there is no current event...
Trying to create a Signal callback: the docs say the callback should have TWO args: The first is for a DBus Exception. If None, all is OK The second is...
Hi! When packaging 0.2.2 for Arch Linux and running the pytest suite against the project, I ran into the issue, that some of the tests assume a functioning dbus (i.e....