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
(2.4.0) JSON Schema for Generics models with Literal as agrument is broken #7630
Closed
1 task done
Tracked by
#7617
Labels
bug V2
Bug related to Pydantic V2
Comments
bogdandm
added
bug V2
Bug related to Pydantic V2
unconfirmed
Bug not yet confirmed as valid/applicable
labels
Sep 26, 2023
Actually I think all generics lost its type arguments:
does not generate any type for field |
Thanks @bogdandm for reporting this 🙏 We will provide a fix for this |
This was referenced Sep 26, 2023
Thank you, it is definetly working now. Also it partially fixes #7376 - no more
|
Thanks @bogdandm for your feedback. it will be available in next release soon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Initial Checks
Description
Straightforward example:
pydantic v2.3.0
pydantic v2.4.0
Example Code
Python, Pydantic & OS Version
The text was updated successfully, but these errors were encountered: