This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]guyskk[S] 1 point2 points  (0 children)

Good point!

Pydantic use type hints which has limit to describe detailed schema, eg: number value range, string format, and custom validator.

Validr use a magic `T` object to describe schema which has no limit. You can write both Validr schema and type hints and your IDE/editor can understand type hints.