Migrate to Pydantic v2 #491
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
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.
The text was updated successfully, but these errors were encountered: