-
-
Notifications
You must be signed in to change notification settings - Fork 303
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
Object provider raises deprecation warning with pydantic models #773
Comments
I found a similar issue: pydantic/pydantic#8153 For now, I used a temporary workaround similar to the one suggested in the comments.
|
Thanks @AlleLouis for linking the other issue in pydantic repository. Honestly it doesn't look correct to just suppress the warning because it would just hide the issue. It would be great to confirm if this fix pydantic/pydantic#8262 will also fix this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the object provider to store a pydantic model triggers a deprecation warning.
This is the raised warning
I believe the warning is raised during wiring, because removing the
WiringConfiguration
from the container removes the warning (and, of course, the container wiring)The text was updated successfully, but these errors were encountered: