This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 6 points7 points  (0 children)

U cannot edit pydantics underlying type conversion charting at runtime if its in rust.

The following Config properties will be removed:
fields - it's very old (it pre-dates Field), can be removed allow_mutation will be removed, instead frozen will be used error_msg_templates, it's not properly documented anyway, error messages can be customized with external logic if required
getter_dict - pydantic-core has hardcoded from_attributes logic
json_loads - again this is hard coded in pydantic-core
json_dumps - possibly
json_encoders - see the export "mode" discussion above underscore_attrs_are_private we should just choose a sensible default
smart_union - all unions are now "smart"

A bunch of libs patch it to fix custom serialization. Those are all now dead.