We’ve just released the second bug-fix update for PyCharm 2022.2.
You can update to this version from inside the IDE, by using the Toolbox App, or by using snaps for Ubuntu. You can also download it from our website.
In this minor release, we’ve included major improvements for Python dataclass support.
For the attrs package, PyCharm now recognizes modern APIs such as attrs.define, attrs.mutable, and attrs.frozen, which are treated in the same way as attr.s, as well as attrs.field, which is treated in the same way as attr.ib.
PyCharm recognizes references to class at