File: //proc/self/root/lib/python3.9/site-packages/dasbus/server/__pycache__/publishable.cpython-39.pyc
a
װ_V � @ s, d dl mZmZ dgZG dd� ded�ZdS )� )�ABCMeta�abstractmethod�Publishablec @ s e Zd ZdZedd� �ZdS )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 C s dS )zuReturn a DBus representation of this object.
:return: an instance of @dbus_interface or @dbus_class
N� )�selfr r �=/usr/lib/python3.9/site-packages/dasbus/server/publishable.py�for_publication/ s zPublishable.for_publicationN)�__name__�
__module__�__qualname__�__doc__r r r r r r r s )� metaclassN)�abcr r �__all__r r r r r �<module> s