You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This doesn't look like a bug. It looks like you didn't parametrize the M1 instance with a type. So, constructing M2 is not failing, it's the construction of M1 that is failing.
Initial Checks
Description
Pydantic Generic BaseModels fails unexpectedly when validating python instances but succeeds when validating the same data as a dictionary.
Example Code
Python, Pydantic & OS Version
The text was updated successfully, but these errors were encountered: