tiqi-group / pydase

A Python library for creating remote control interfaces of Python objects.
https://pydase.readthedocs.io
MIT License
1 stars 1 forks source link

Fix: allow unserializable objects on priv attrs #136

Closed mosmuell closed 2 months ago

mosmuell commented 2 months ago

Changing private or protected attributes after the service has been exposed only worked if the object was serializable. This does not really make sense. We only need to tell dependent properties that this attribute has changed. This PR fixes this by first checking if the attribute is part of a private/protected object before serializing it to compare it to the cached value.