-
-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When using private fields in BaseModels, the plugin incorrectly suggests that constructors must add this field as a parameter.
To Reproduce
Steps to reproduce the behavior:
from pydantic import BaseModel
class Test(BaseModel):
_a: int
print(Test()) # Observe warning here from plugin: "Parameter '_a' unfilled"Expected behavior
Ignoring this parameter in the constructor.
Screenshots
Environments (please complete the following information):
- IDE: PyCharm 2025.1.2
- OS: Windows 10
- Pydantic Version: 2.11.7
- Plugin version: 0.4.18
koxudaxi
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
