In theory we could replace all the TypedDict with pydantic models.
Advantages:
- Could implement advanced validation like regex etc
- Could have low level models for things like ranges
Disadvantages:
- More dependencies, so larger installation
- Much more verbose queries. You would now have to import the appropriate models instead of just using built-in Python constructs
In theory we could replace all the
TypedDictwith pydantic models.Advantages:
Disadvantages: