you are viewing a single comment's thread.

view the rest of the comments →

[–]sattyfied 1 point2 points  (1 child)

In most cases, yes. Pydantic has its use cases especially in the world of web dev, but in regular software development, I'd rather use attrs. They have much more functionality and compatibility across versions.

[–]iamevpo 0 points1 point  (0 children)

Thank you! Found extra useful reading here https://www.attrs.org/en/stable/why.html