thegridelectric / gridworks-protocol

Message protocol for GridWorks SCADA
MIT License
0 stars 0 forks source link

Remove need for enum validators #334

Closed anschweitzer closed 2 months ago

anschweitzer commented 2 months ago

By combining pythons Enum.missing() functionality with the our existing default() functions we remove need for an enum validator that converts a unknown value to the default. The values() function can also be moved into the base class