Y
Hacker News
new
|
ask
|
show
|
jobs
by
kkirsche
1654 days ago
Isn’t that the allow_mutation parameter of the field function?
https://pydantic-docs.helpmanual.io/usage/schema/#field-cust...
1 comments
eirki
1654 days ago
Disabling mutation prevents you from changing attributes after instantiation, no?
link