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/cache update on type change #108

Closed mosmuell closed 6 months ago

mosmuell commented 6 months ago

When changing an attribute type, keys other than "value" and "type" were not updated. This means that in case of an enumeration, the "enum" key was not present in the cache. This MR fixes this.

The sio_callback now also gets the updated cached value and does not have to redo what the cache was doing.