Open YuncongZhou opened 1 month ago
Thanks, I'll take a look.
Interesting.
import pydantic
pydantic.version.VERSION
# 2.7.3
pydantic.v1.version.VERSION
# 1.10.15
So even if you have v2 you get v2 (that's why the tests here are failing)
I think we need a way to get the basics all running in v1 and ... the output is different?
Added a test workflow to test with pydantic-1.
If we want this to successfully close that bug, we need to get those tests working, or expolicitly choose some acceptable subset of them and tag the others with a skipif .
The commit is a mirror of cl/638491582 by ayzhou@
As indicated in b/343572011, the issue affect all Python SDK FC usage in g3 including the official function calling colab.
The issue is very similar to b/325114802, b/331534434, which are then fixed with cl/619453719.
Description of the change
Update pydantic import to fix b/343572011. It is a mirror of cl/638491582 by ayzhou@
Motivation
b/343572011
Type of change
Bug fix
Checklist
git pull --rebase upstream main
).