|
|
|
|
|
by alfons_foobar
352 days ago
|
|
I guess some prefer to stick with the stdlib instead of third party libs. Also, dataclasses feels more straightforward and less "magic" to me (in the sense that it is more or less "just" a way to avoid boilerplate for class definition, while pydantic does way more "magic" stuff like de-/serialization and validation, and adding numerous methods and attributes to the classes). |
|