Skip to content

Commit c8bcc22

Browse files
committed
Add changelog fragment for #23
1 parent 4a3f7e9 commit c8bcc22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

changes/23.breaking.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The `load_common_data` and `load_version` functions now returns custom pydantic objects instead of `dict`. This means support for `__getitem__` based accessing of the data (e.g. `load_common_data()["legacy"]["blocks"]`) will no longer work, in favor of attribute-based accessing (e.g. `load_common_data().legacy.blocks`). Additionally, to make sure we follow python's best practices, any camelCase attributes were converted into snake_case.

0 commit comments

Comments
 (0)