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
pydantic_core._pydantic_core.ValidationError: 1 validation error for C
b
Field required [type=missing, input_value={'a': 'FdhLXuyqOfQSYmiqClUe'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.7/v/missing
Hi vrslev, this may be tricky to support as is given validation_alias may not be a str but an alias path as well. I will have a look to see if this can be done whilst being backwards compatible.
I would suggest setting populate_by_name on the pydantic model as a workaround in the meantime.
Description
ModelFactory.coverage()
fails on models that havevalidation_alias
setMCVE
Logs
Release Version
2.16.2
Platform
Note
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard
The text was updated successfully, but these errors were encountered: