This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Pydantic and Pydantic Settings don't seem to provide library stubs for MyPy #9380
Closed
1 task done
Initial Checks
Description
In the Pydantic documentation for MyPy, it is stated that:
However, MyPy generates errors for a simple module,
I've removed the line numbers because they don't match up anyway to the code example below since I removed documentation lines, but they don't matter anyway since MyPy doesn't typecheck any Pydantic piece.
As a note, I am using Poetry. Here is my
pyproject.toml
configuration for MyPy:Whether plugins is present or not makes no difference to the errors above.
Example Code
Python, Pydantic & OS Version
The text was updated successfully, but these errors were encountered: