False positive not-async-context-manager
with Pydantic PrivateAttr
#9813
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Lib specific 💅
This affect the code from a particular library
Needs astroid Brain 🧠
Needs a brain tip in astroid (then an astroid upgrade)
Needs astroid update
Needs an astroid update (probably a release too) before being mergable
Bug description
There is a false positive
not-async-context-manager
when using Pydantic v2'sPrivateAttr
. Fyi I am coming from pydantic/pydantic#9921Configuration
Command used
Pylint output
Expected behavior
No message
Pylint version
OS / Environment
macOS Sonoma version 14.3
Additional dependencies
The text was updated successfully, but these errors were encountered: