When a dataclass contains an InitVar field, pydantic will try to validate it and does not pass the InitVar to post_init.
Using InitVar will raise the following error:
And when arbitrary_types_allowed is set the following exception is raised:
I have a pull request.
The text was updated successfully, but these errors were encountered: