You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the member self._item is declared and assigned as above, pylsp seems to be confused about the type (Can I verify this somehow?)
When I try to tab complete after self._item. (see above) pylsp suggests the method get_a, which is not available on an instance of A.
I tried to clarify and change some types in the example, but the behavior stayed. Is there some other way to rewrite the inside of class Thing so that pylsp unserstands the type correctly?
The text was updated successfully, but these errors were encountered:
When the member
self._item
is declared and assigned as above, pylsp seems to be confused about the type (Can I verify this somehow?)When I try to tab complete after
self._item.
(see above) pylsp suggests the methodget_a
, which is not available on an instance of A.I tried to clarify and change some types in the example, but the behavior stayed. Is there some other way to rewrite the inside of
class Thing
so that pylsp unserstands the type correctly?The text was updated successfully, but these errors were encountered: