a F `c@sdgZGdddeZdS) PropertyProxyc@s@eZdZdZddgZddZddZdd Zd d Zd d Z dS)rzXProxy of a remote DBus property. It can be used to define instance attributes. _getter_settercCs||_||_dS)z(Create a new proxy of the DBus property.N)rr)selfgettersetterr:/usr/lib/python3.9/site-packages/dasbus/client/property.py__init__$szPropertyProxy.__init__cCs |ddS)z#Get the value of the DBus property.N)__get__)rrrrget)szPropertyProxy.getcCs&|dur|r|S|jstd|S)NzCan't read DBus property.)rAttributeError)rinstanceownerrrrr -s zPropertyProxy.__get__cCs |d|S)z#Set the value of the DBus property.N)__set__)rvaluerrrset8szPropertyProxy.setcCs|jstd||S)NzCan't set DBus property.)rr )rr rrrrr<s zPropertyProxy.__set__N) __name__ __module__ __qualname____doc__ __slots__r r r rrrrrrrs N)__all__objectrrrrrs