Restrict pydantic<2.0.0
due to breaking changes
#1104
Merged
pydantic<2.0.0
due to breaking changes
#1104