Closed fkwp closed 7 years ago
This can be usefull to determine, e.g., the caller pid or uid within a dbus method callback. In addition use try except block for the actual method call such that the kwargs argument is optional.
They're already a part of dbus_context kwarg.
( https://github.com/LEW21/pydbus/blob/master/pydbus/method_call_context.py )
This can be usefull to determine, e.g., the caller pid or uid within a dbus method callback. In addition use try except block for the actual method call such that the kwargs argument is optional.