Example repo for pydantic/pydantic#10970
This is a very simple example to reproduce the error, just need to have uv
installed:
uv sync
to install both packagesuv run hello.py
to check that is running as expecteduv run mypy .
to check that mypy is raising an error
There is a branch pydantic-2.9.2
to show that the error is not present in that version.