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

adds note that coloured enum values must be unique #120

Closed mosmuell closed 2 months ago

mosmuell commented 2 months ago

pydase.components.ColouredEnum derives from enum.Enum. This means that its keys and values need to be unique. If users want to use a colour for multiple enum keys they should use different colour formats.