News for hackers. Stuff that matters.
Re:I use Attrs instead of Pydantic by radus on Thursday August 26, 2021 @09:25AM (#28314586)
Pedantic has a validate_arguments decorator that while in beta, I think does what you want: https://pydantic-docs.helpmanual.io/usage/validation_decorat...

There are no comments on this comment yet.