You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After migrating my code to pydantic 2, and having all the tests passing, I'm still getting various pylint errors, where pylint seems to detect the wrong type for fields having explicit Field(...) customization. I think the solution might be to do something like this, and I might have some time to do it but I'm not very familiar with pylint/astroid internals and I wanted someone else to take a look before I work on a PR.
Problem description
After migrating my code to pydantic 2, and having all the tests passing, I'm still getting various pylint errors, where pylint seems to detect the wrong type for fields having explicit
Field(...)
customization. I think the solution might be to do something like this, and I might have some time to do it but I'm not very familiar with pylint/astroid internals and I wanted someone else to take a look before I work on a PR.Steps to reproduce the problem
This fails:
with
Specifications like the version of the project, operating system, or hardware
The text was updated successfully, but these errors were encountered: