Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pedantic has a validate_arguments decorator that while in beta, I think does what you want: https://pydantic-docs.helpmanual.io/usage/validation_decorat...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: