cog icon indicating copy to clipboard operation
cog copied to clipboard

use pydantic v2

Open technillogue opened this issue 1 year ago • 3 comments

technillogue avatar Apr 18 '24 20:04 technillogue

My understanding is that this will cause incompatibilities with anyone using Pydantic 1, which I reckon is many if not most models.

Any objections to porting this to use the same "try import v2 shim for v1, fallback to actual v1" approach taken by #1622?

mattt avatar Apr 18 '24 21:04 mattt

yeah that's sensible, this is just to unblock testing

technillogue avatar Apr 18 '24 21:04 technillogue

wait so is there some benefit to doing this over #1622 ?

technillogue avatar May 02 '24 19:05 technillogue