Skip to content

Commit

Permalink
docs: πŸ“š Use model_apply instead of apply in README
Browse files Browse the repository at this point in the history
  • Loading branch information
ddanier committed Jul 26, 2023
1 parent 7fbf82a commit d9b3625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Something(ApplyModelMixin, pydantic.BaseModel):


obj = Something(name='John Doe', age=42)
obj.apply({
obj.model_apply({
"age": 43,
})
assert obj.age == 43
Expand Down

0 comments on commit d9b3625

Please sign in to comment.