Skip to content
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

Update to pydantic v1 #110

Merged
merged 11 commits into from
Jan 7, 2020
4 changes: 2 additions & 2 deletions .ci/json_diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ diff=$(jsondiff ./openapi/openapi.json ./openapi/local_openapi.json);
index_diff=$(jsondiff ./openapi/index_openapi.json ./openapi/local_index_openapi.json);

if [ ! "$diff" = "{}" ]; then
echo -e "Generated OpenAPI spec for test server did not match committed version.\nRun 'invoke update_openapijson' and re-commit.\nDiff:\n$diff";
echo -e "Generated OpenAPI spec for test server did not match committed version.\nRun 'invoke update-openapijson' and re-commit.\nDiff:\n$diff";
exit 1;
fi

if [ ! "$index_diff" = "{}" ]; then
echo -e "Generated OpenAPI spec for Index meta-database did not match committed version.\nRun 'invoke update_openapijson' and re-commit.\nDiff:\n$index_diff";
echo -e "Generated OpenAPI spec for Index meta-database did not match committed version.\nRun 'invoke update-openapijson' and re-commit.\nDiff:\n$index_diff";
exit 1;
fi
2 changes: 1 addition & 1 deletion .github/workflows/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
lark-parser==0.7.8
fastapi==0.44.0
pydantic==0.32.2
pydantic==1.2
email_validator==1.0.5
requests==2.22.0
uvicorn==0.10
Expand Down