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
Describe the bug
While Pydantic plugin is active, any pydantic class attribute gets "Unresolved Attribute Reference" warnings when accessing the class attribute (ie Example.my_atb). If plugin is disabled, the warning doesn't appear.
This started appearing after the last patch (0.4.15).
Tried invalidating caches, issue persisted.
To Reproduce
Steps to reproduce the behavior:
Create Pydantic class with a class attribute.
Attempt to access class-level attribute.
Receive warning "Unresolved attribute reference"
Expected behavior
Warning shouldn't be appearing as this is a valid class attribute.
Screenshots
Plugin Enabled:
Plugin Disabled:
Environments (please complete the following information):
PyCharm 2024.2.1 (Community Edition)
Build #PC-242.21829.153, built on August 29, 2024
Runtime version: 21.0.3+13-b509.11 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 10.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2040M
Cores: 16
Registry:
ide.experimental.ui=true
i18n.locale=
Non-Bundled Plugins:
com.jetbrains.plugins.ini4idea (242.21829.162)
com.intellij.ml.llm (242.21829.196)
org.jetbrains.plugins.gitlab (242.21829.162)
com.koxudaxi.pydantic (0.4.15)
ru.adelf.idea.dotenv (2024.2.1)
Pydantic Packages:
pydantic==2.9.1
pydantic_settings==2.5.2
pydantic_core==2.23.3
The text was updated successfully, but these errors were encountered:
Describe the bug
While Pydantic plugin is active, any pydantic class attribute gets "Unresolved Attribute Reference" warnings when accessing the class attribute (ie
Example.my_atb
). If plugin is disabled, the warning doesn't appear.This started appearing after the last patch (0.4.15).
Tried invalidating caches, issue persisted.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Warning shouldn't be appearing as this is a valid class attribute.
Screenshots
![image](https://private-user-images.githubusercontent.com/122392287/367785093-e4244d7d-0410-4898-9055-ab4ec931da84.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc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ili4MJBU7gerVc)
Environments (please complete the following information):
PyCharm 2024.2.1 (Community Edition)
Build #PC-242.21829.153, built on August 29, 2024
Runtime version: 21.0.3+13-b509.11 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 10.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2040M
Cores: 16
Registry:
ide.experimental.ui=true
i18n.locale=
Non-Bundled Plugins:
com.jetbrains.plugins.ini4idea (242.21829.162)
com.intellij.ml.llm (242.21829.196)
org.jetbrains.plugins.gitlab (242.21829.162)
com.koxudaxi.pydantic (0.4.15)
ru.adelf.idea.dotenv (2024.2.1)
Pydantic Packages:
The text was updated successfully, but these errors were encountered: