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

Support Pydantic V2 #179

Merged
merged 17 commits into from
May 1, 2024
Merged

Support Pydantic V2 #179

merged 17 commits into from
May 1, 2024

Conversation

Peter-van-Tol
Copy link
Contributor

This pull request contains the required changes to support both pydantic V2. All tests, as far as running on my laptop, are passing.

Current users can keep using pydantic v1.

When users want to use pydantic v2, they can upgrade:

pip install d-geolib[pydantic-v2]

This will install the required packages for pydantic v2.

@Peter-van-Tol Peter-van-Tol changed the title Support Pydatnic V2 Support Pydantic V2 Apr 22, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@@ -0,0 +1,24 @@
"""This module contaiuns the logic to support both pydantic v1 and v2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

contains

@Ringovdvelden Ringovdvelden merged commit eb85543 into Deltares:master May 1, 2024
25 checks passed
@wfaustmann wfaustmann mentioned this pull request Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants