-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add pyproject.toml * Update to pydantic v2 * Make pydantic 2 changes so that tests can be run * Fix named_attributes * Use ValidationInfo for accessing other fields * Use ValidationInfo * Adjust error messages * Update for changes in pydantic API * Clean up NomenclatureConfig for pydantic v2 * Add coverage to dev dependencies * Update type hints * Update required_data and tests * Update custom errors for pydantic 2 * Use new model_dump method * Fix nightly workflow * Use the new model_dump over dict * Add ErrorCollector * Switch to use PydanticCustomError * Adjust to new each_item implementation * Use ErrorCollector * Use PydanticCustomErrors * Adjust tests * Simplify Code.__eq__ * Remove unused importa
- Loading branch information
1 parent
df34986
commit 72fec3f
Showing
21 changed files
with
813 additions
and
597 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.