Typing-inspection

Latest version: v0.4.0

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.4.0

- Add support for `dataclasses.InitVar` as a type qualifier by Viicos in [31](https://github.com/pydantic/typing-inspection/pull/31)
A new `DATACLASS` annotation source is added.
- Add explicit annotation for `ForbiddenQualifier` exception by Viicos in [30](https://github.com/pydantic/typing-inspection/pull/30)

0.3.1

- Allow unhashable items in `Literal` forms by Viicos in [28](https://github.com/pydantic/typing-inspection/pull/28)

0.3.0

- Handle bare `ClassVar` type qualifiers, rename `INFERRED` sentinel by Viicos in [26](https://github.com/pydantic/typing-inspection/pull/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`.

0.2.0

- Add `typing_objects.is_deprecated()` by Viicos in [24](https://github.com/pydantic/typing-inspection/pull/24)
- Add missing positional only parameter markers in `typing_objects` stub file by Viicos in [23](https://github.com/pydantic/typing-inspection/pull/23)
- Add project URLs by Viicos in [22](https://github.com/pydantic/typing-inspection/pull/22)

0.1.0

Initial release.

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.