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

Migrate to Pydantic v2 #491

Open
MRichards99 opened this issue Oct 7, 2024 · 0 comments
Open

Migrate to Pydantic v2 #491

MRichards99 opened this issue Oct 7, 2024 · 0 comments
Labels
dependencies Pull requests that update a dependency file expands-search-api Issues relating to the ExPaNDS Search API section of this repo python Pull requests that update Python code

Comments

@MRichards99
Copy link
Collaborator

Description:
Pydantic is used to store the API's config and to implement the data model for the PaNOSC Search API. 1.8.2 is being used currently so needs to be migrated to version 2, where there are quite a few breaking changes. There is a migration guide (https://docs.pydantic.dev/latest/migration/) and a tool (https://github.com/pydantic/bump-pydantic) to help automate some of the changes. The migration tool was used on OperationsGateway API and helped to speed up the task.

@MRichards99 MRichards99 added expands-search-api Issues relating to the ExPaNDS Search API section of this repo dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file expands-search-api Issues relating to the ExPaNDS Search API section of this repo python Pull requests that update Python code
Projects
None yet
Development

No branches or pull requests

1 participant