Skip to content

Commit ab8cb43

Browse files
Update changelogs from fern repo (#3484)
Co-authored-by: seymurkafkas <5654109+seymurkafkas@users.noreply.github.com>
1 parent 54e5c94 commit ab8cb43

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## 4.54.3
2+
**`(fix):`** Fix mypy type checking compatibility with pydantic field aliases. When fields have aliases
3+
(e.g., `bucket_id` with alias `bucketId`), the pydantic.Field(alias=...) is now placed inside
4+
the Annotated type hint instead of as the default value. This makes mypy see the Python field
5+
name in the constructor signature while Pydantic still uses the alias for JSON serialization.
6+
7+

0 commit comments

Comments
 (0)