Tom Ritchford
May 6, 2023

--

This is extremely interesting, and I have a question.

I use python dataclasses for a lot of things, and they work very well for me.

Your article and one answer has convinced me that perhaps I should be using pydantic for all my API needs, but not for internal data structures.

How well do dataclasses and pydantic classes two interoperate?

Well, look at this - another Medium article with a good analysis that answers that question. Never mind! ;-)

Thanks, a very high-quality article.

--

--

No responses yet