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.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/FGK4R4ES3STAS2PZLYX5UOV5HZRIFSF2/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to