tiqi-group / pydase

A flexible and robust Python library for creating, managing, and interacting with data services, with built-in support for web and RPC servers, and customizable features for diverse use cases.
MIT License
0 stars 1 forks source link

fixes sio callback when attribute changes to an enum which was not present before #106

Closed mosmuell closed 3 months ago

mosmuell commented 3 months ago

Dynamically setting an attribute to an enumeration when it was, say, a float before will sometimes result in a broken frontend. The reason is that the serialized enum was not completely emitted - the "enum" key-value pair was missing from the dictionary.