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

[pydantic 2] create pydantic model from schema #1786

Closed
samsja opened this issue Sep 15, 2023 · 1 comment · Fixed by #1795
Closed

[pydantic 2] create pydantic model from schema #1786

samsja opened this issue Sep 15, 2023 · 1 comment · Fixed by #1795

Comments

@samsja
Copy link
Member

samsja commented Sep 15, 2023

Context

creating pydantic model from schema is not working bc pydantic v2 does not expose anymore the right method

@pytest.mark.skipif(is_pydantic_v2, reason="Not working with pydantic v2 for now")

raise NotImplementedError(

@JoanFM
Copy link
Member

JoanFM commented Sep 17, 2023

Any clue why this is not doable in Pydantic V2?

@JoanFM JoanFM linked a pull request Sep 18, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants