Closed Carreau closed 2 weeks ago
Hum, StrEnum is only 3.11+. I'm not sure what to do. I guess we can still make it "just" an enum on earlier Versions.
I only saw this @Carreau could we not use future
like from __future__ import StrEnum
to go around this?
We could use https://pypi.org/project/StrEnum/, but I don't think it's worth adding a dep just for this.
Yeah so maybe a simple enum would be good then
This make a few things a bit easier, like looping through variants, and also should be a bit stricter on types.