-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mypy crashes with pydantic plugin and BasicSettings class #18612
Comments
I did add pydantic.mypy plugin but the Settings class was giving an InternalError from the library. I've opened an [issue](python/mypy#18612) and removed the plugin until it worked
This sounds like an issue with pydantic plugin, not with |
I did add pydantic.mypy plugin but the Settings class was giving an InternalError from the library. I've opened an [issue](python/mypy#18612) and removed the plugin until it worked
I did add pydantic.mypy plugin but the Settings class was giving an InternalError from the library. I've opened an [issue](python/mypy#18612) and removed the plugin until it worked
I did add pydantic.mypy plugin but the Settings class was giving an InternalError from the library. I've opened an [issue](python/mypy#18612) and removed the plugin until it worked
I did add pydantic.mypy plugin but the Settings class was giving an InternalError from the library. I've opened an [issue](python/mypy#18612) and removed the plugin until it worked
I had a similar issue, but it seems to be working after upgrading to pydantic-settings 2.8.1 |
I'll check it out, thanks for the update!! |
Issues when running with the pydantic plugin are best reported at the pydantic repo |
Crash Report
I've enabled pydantic mypy plugin as I've introduced a class in my project that uses
BaseSettings
class from pydantic.Now when I run mypy I get the following error:
AsertionError: All arguments mus be fully typed
. As all fields are typed (see class in how to reproduced section), I don't understand where this error is coming from.Traceback
To Reproduce
In my mypy.ini file I've added the following:
And the class that I created is this one:
Your Environment
mypy.ini
(and other config files):this is my mypy.ini config file
The text was updated successfully, but these errors were encountered: