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

Update for pydantic 2 #37

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

eg-novelt
Copy link

Pydantic 2.0 just came out. This PR uses their new syntax.

One difference is that Optional parameters now output property: | null instead of property?.

All the tests passed locally.

@voidus
Copy link

voidus commented Jan 12, 2024

What's the difference between this PR and #40 or #38 ?

Can they be consolidated?

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.

None yet

2 participants