Releases: pydantic/typing-inspection
Releases · pydantic/typing-inspection
v0.4.0 (2025-02-25)
What's Changed
- Add support for
dataclasses.InitVar
as a type qualifier by @Viicos in #31
A newDATACLASS
annotation source is added. - Add explicit annotation for
ForbiddenQualifier
exception by @Viicos in #30
Full Changelog: v0.3.1...v0.4.0
v0.3.1 (2025-02-24)
What's Changed
Full Changelog: v0.3.0...v0.3.1
v0.3.0 (2025-02-24)
What's Changed
- Handle bare
ClassVar
type qualifiers, renameINFERRED
sentinel by @Viicos in #26
While currently not explicitly allowed by the typing specification,ClassVar
is allowed as a bare type qualifier.
UnlikeFinal
, the actual type doesn't have to be inferred from the assignment (e.g. one can useAny
).
For this reason, theINFERRED
sentinel was renamed toUNKNOWN
.
Full Changelog: v0.2.0...v0.3.0
v0.2.0 (2025-02-23)
v0.1.0 (2025-02-22)
Initial release.