Skip to content Skip to sidebar Skip to footer

How Dynamically Export Methods To Dbus Using Python, Without Static Decorator?

I searched for an answer to this question in several places, but I could not find a consistent solution, and some are too old and unclear. I have a classe where the interface path

Solution 1:

@dbus.service.method('com.example.MyInterface.Number%d' % (instancenum,))

Post a Comment for "How Dynamically Export Methods To Dbus Using Python, Without Static Decorator?"