You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ mypy test.pytest.py:3: error: Variable "pydantic_core.core_schema.FieldValidationInfo" is not valid as a type [valid-type]test.py:3: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliasesFound 1 error in 1 file (checked 1 source file)
No error occurs when using v2.9.0.
This behavior turns the deprecation into a breaking change (at least regarding type-checking). As a result, we can't update from Pydantic v2.3 to v2.4 as pydantic-core is a pinned dependency and bumped to v2.10.