typing-inspection v0.3.0

v0.3.0

v0.3.0 (2025-02-24)

Added 1
  • Handle bare ClassVar type qualifiers
Changed 1
  • Rename INFERRED sentinel to UNKNOWN

From typing-inspection

What's Changed
  • Handle bare ClassVar type qualifiers, rename INFERRED sentinel by @Viicos in #26 While currently not explicitly allowed by the typing specification, ClassVar is allowed as a bare type qualifier. Unlike Final, the actual type doesn't have to be inferred from the assignment (e.g. one can use Any). For this reason, the INFERRED sentinel was renamed to UNKNOWN.

Full Changelog: https://github.com/pydantic/typing-inspection/compare/v0.2.0...v0.3.0

View original

Upgraded? How did it go?

Discussion