Conditional imports to support operating with pydantic>2
installed
#42
+126
−0
pydantic>2
installed
#42