Skip to content

Migrate to Pydantic v2 #491

@MRichards99

Description

@MRichards99

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency fileexpands-search-apiIssues relating to the ExPaNDS Search API section of this repopythonPull requests that update Python code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions