In this PR I update the configuration file validation logic to work with pydantic>=2.0, following the Pydantic Migration Guide. This is labelled as a draft right now because, while all the tests pass, I think there are a couple additional features we can add. For example, making better use of the FieldValidationInfo and ValidationError. I will address this shortly.
Description
DRAFT PR
In this PR I update the configuration file validation logic to work with
pydantic>=2.0
, following the Pydantic Migration Guide. This is labelled as a draft right now because, while all the tests pass, I think there are a couple additional features we can add. For example, making better use of theFieldValidationInfo
andValidationError
. I will address this shortly.Issue Ticket Number
Closes #185
Documentation
Na. No changes for the user