Christopher Barker wrote:
> My first thought is that for dataclasses, you can use the asdict() method,
> and you're done.

I thought in a similar way. I'll ask another (7K wtf  in 2 years, 3 month) 
question about converting a dataclass to dict.
_______________________________________________
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/Y3VLMQY3E7LPGIHN7P4WUJPMBZW37DLA/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to