-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fields of type"typing.Annotated" are not supported in pydantic #491
Fields of type"typing.Annotated" are not supported in pydantic #491
Conversation
Thanks! In the github yaml files, the pydantic version is hardcoded for the unit tests, can you set it to 1.8.0 instead of just 1.* so that our unit tests run with the oldest version possible? Thanks! |
@gabrieldemarmiesse after modifying the
|
We can se the minimul version to 1.9. That why we have our CI! |
@gabrieldemarmiesse I've updated CI to use |
a8be921
into
gabrieldemarmiesse:master
Many thanks! |
#490
Reproduced the issue with
pydantic==1.7.4
. After looking at thepydantic
changelogv1.8 2021-02-26
introduced support fortyping.Annotated
hints on model fields. After installingpydantic==1.8
and trying to reproduce the issue, no errors were produced.