A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pydantic/pydantic/releases/tag/v2.11.0b1 below:

Release v2.11.0b1 2025-03-06 · pydantic/pydantic · GitHub

GitHub release

What's Changed

Note

Addendum: 2.11 introduced a small behavior change with Final attributes with an underscore:

class Model(BaseModel):
    _var: Final[int] = 1

In 2.10, _var would be considered as a class variable, but as a private attribute in 2.11.
As documented in the blog post, you can make use of ClassVar instead of Final to keep it as a class variable.

Packaging New Features Changes Performance Fixes New Contributors

Full Changelog: v2.10.6...v2.11.0b1


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4