-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
dataclass validation should get MASSIVELY easier and more performant since we have the arguments
validator in pydantic-core which means we can do validation before constructing the dataclass. Lots of examples in the docs here.
I think we should remove all the __post_init_post_parse__
shit, and just use validation functions and the standard stuff offered by dataclasses.
@PrettyWood as the master of dataclasses, would be willing to work on this? If not, I quite understand, please remove yourself as assignee and hopefully someone else can take over.
Either way, I'd love your insights on what we should do.