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

Migrating to Pydantic 2 #43

Merged
merged 14 commits into from
Sep 12, 2023
Merged

Migrating to Pydantic 2 #43

merged 14 commits into from
Sep 12, 2023

Conversation

questionlp
Copy link
Owner

  • Migrate to Pydantic 2, which requires re-working of models, which includes:
    • Using bump-pydantic to migrate to Pydantic 2
    • Replacing conint and constr with Annotated[int, Path()] and Annotated[str, Path()] respectively in routes
    • Replacing strip_whitespace=True to string.strip() when passing in values to a method
  • Adding titles via Path(title=) to path elements in routes where applicable
  • Correct spelling errors

Bump dependency versions for fastapi, uvicorn, wwdtm, etc.
Update fastapi, uvicorn, httpx, requests and wwdtm dependencies
Adding Support for Panelist Decimal Scores
Change Pydantic dependency to <2 instead of ==1.10.12
Fix issue where scores are returned as int rather than Decimal for panelist/scores
Adding support for panelist lightning start/correct decimal
@questionlp questionlp merged commit c4d0fd1 into develop Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant