Skip to content

Commit

Permalink
Fix populate_by_name migration note about old name (#7699)
Browse files Browse the repository at this point in the history
  • Loading branch information
schneebuzz committed Sep 29, 2023
1 parent 0c444b3 commit 4d0ceea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydantic/config.py
Expand Up @@ -131,7 +131,7 @@ class User(BaseModel):
Note:
The name of this configuration setting was changed in **v2.0** from
`allow_population_by_alias` to `populate_by_name`.
`allow_population_by_field_name` to `populate_by_name`.
```py
from pydantic import BaseModel, ConfigDict, Field
Expand Down

0 comments on commit 4d0ceea

Please sign in to comment.