How to make Pycharm resolve method defined in magic method __new__

How can make Pycharm auto resolve method_1 and method_2 without warning " Unresolved attribute reference 'method_1' for class 'MyClass' "
For example Django model.DoesNotExist class is added in __new__ method:

1
1 comment

Hi, this is a known issue https://youtrack.jetbrains.com/issue/PY-16611

Sorry for the inconvenience. Feel free to vote and comment on the issue.

1

Please sign in to leave a comment.