
July 21, 2022
3 a.m.
Ethan Furman wrote:
On 7/9/22 12:19, Steve Jorgensen wrote:
[...] It works great to combine them by defining the dataclass as a mixin for the Enum class. Why would it not be good to include that as an example in the official docs, assuming (as I believe) that it is a particularly useful combination? Do you have some real-world examples that show this? -- ~Ethan~
I have only used it in 1 real-world case s far. It's a good use case but not a good example case. I'll keep using this pattern though, and I'll probably end up with a good example soonish.