-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
PYDANTIC_DISABLE_PLUGINS
: env var to disable all plugins
#7709
Comments
maybe configurable, so:
|
I could pick this up! |
That'd be great! Thanks. I've assigned the issue to you :). |
Will be able to work on this next week. |
Found the test plugin. That also fails, the log is empty.
|
@sydney-runkle @samuelcolvin |
from pydantic import BaseModel
class MyModel(BaseModel):
x: int
y: str
m = MyModel(x='10', y='hello')
assert m.x == 10
assert m.y == 'hello' |
Apologies for the delay in response! Was a bit tied up with the patch release last week. Feel free to also tag @Kludex if you have any other questions re this issue. @hramezani, thanks for the guidance on getting started with this :). |
thanks @hramezani for some reason the test fails with pdm's env even though the plugin is installed. I can proceed with a fresh environment. |
@sydney-runkle can we close this as the PR got merged? |
Done in #8767 |
Should be fairly simple to setup.
The text was updated successfully, but these errors were encountered: