IDE Static attribute checking shows warning
geyang opened this issue · 4 comments
@smarie Not sure if there is a way around this: In IDE (I'm using pyCharm), when using autoargs
the class attribute shows up as undefined during the static checking of the IDE. It looks like this:
It would be great if there is a way to get around this issue.
Besides preserving the __init__
function call signature, it would be great if the class could be used as a namespace with good IDE autocompletion/autosuggestion for the attributes.
Is this possible?
I confirm both issues. Not sure it was always the case with older versions of Pycharm. I need to investigate further, I am trying to get help from PyCharm support here.
Issue was created in PyCharm issue tracker: https://youtrack.jetbrains.com/issue/PY-26029
There is not much we can do on this side apart from voting for the pycharm issue. Closing.