News for hackers. Stuff that matters.
Re:Attrs – the Python library everyone needs (2016) by ledauphin on Friday December 24, 2021 @04:52PM (#29678109)
I'd say the opposite. Specifically, Pydantic tries to do everything, and as a result (partly b/c they favor base classes over higher order functions), it isn't as composable as attrs is.

I've done some truly amazing things with attrs because of that composability. If I'd wanted the same things with Pydantic, it would have had to be a feature request.

There are no comments on this comment yet.