-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bug V1Bug related to Pydantic V1.XBug related to Pydantic V1.X
Milestone
Description
Hi! I am a huge fan. I am just encountering an error at the moment. The code below used to have no issue with pylance using previous pydantic version. But, right now I can no longer create an instance without having to pass values to fields that are supposed to be set only in .env or loaded from environment. It is really nice that it now offers autocomplete (same goes to BaseModel) and it actually still works. It's just that I really do not like the view of squiggly lines 😄 Would there be a quick fix for this?
These are my vscode settings, btw.
"python.analysis.typeCheckingMode": "basic",
"python.languageServer": "Pylance",Thank you in advance for your response.
troxellophilus, pcrespov, jony89, jeanmonet, tekumara and 24 more
Metadata
Metadata
Assignees
Labels
bug V1Bug related to Pydantic V1.XBug related to Pydantic V1.X
