How do you fix, "cannot find declation to go to"?

I was wondering whether there is a way to tell PyCharm about the type of an object.

It is initialized in a way that PyCharm does not seem to understand, and I was wondering whether I can tell it what type of object it is? Perhaps using some sort of comment file.

1 comment
Comment actions Permalink
Hi Charley,

PyCharm understands types from restructured and sphinx docstrings and from python3 annotations

Please, find more information at

Please sign in to leave a comment.