We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
dataclasses
On main 6267ae3
import pydantic @pydantic.dataclasses.dataclass class A: a: str A("") # error: Too many positional arguments for "A" [misc]
See this: #5077 (comment)
The text was updated successfully, but these errors were encountered:
Thanks for reporting.
See further discussion on #5077.
Happy to accept fixes for v1, or v2 once we get dataclasses working.
Sorry, something went wrong.
dataclass_transform
Opened #5120 to remove the kw_only_default argument.
kw_only_default
Guess it was originally added because BaseModel only excepts keyword arguments and it was used there - copy-paste error.
BaseModel
Successfully merging a pull request may close this issue.
On main 6267ae3
See this: #5077 (comment)
The text was updated successfully, but these errors were encountered: