← Back
Editing: publishable.cpython-312.pyc
� �icV � �2 � d dl mZmZ dgZ G d� de�� Zy)� )�ABCMeta�abstractmethod�Publishablec � � e Zd ZdZed� � Zy)r a� Abstract class for Python objects that can be published on DBus. Example: .. code-block:: python # Define a publishable class. class MyObject(Publishable): def for_publication(self): return MyDBusInterface(self) # Create a publishable object. my_object = MyObject() # Publish the object on DBus. DBus.publish_object("/org/project/x", my_object.for_publication()) c � � y)zuReturn a DBus representation of this object. :return: an instance of @dbus_interface or @dbus_class N� )�selfs �>/usr/lib/python3.12/site-packages/dasbus/server/publishable.py�for_publicationzPublishable.for_publication/ s � � � N)�__name__� __module__�__qualname__�__doc__r r r r r r r s � ��( �� �r )� metaclassN)�abcr r �__all__r r r r �<module>r s ��* (��/���G� r
Save File
Cancel