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
It looks like VSCode is not able to determine that Sequential has a method add() -- even though it's right there in the Sequential class definition. Type annotations wouldn't help here. I would expect the code completion feature for properties/methods to use dir() and filter for public (no underscore) entries. Which should work here.
Are you able to pinpoint what exactly is causing this?
It's very strange as I noticed:
The type checker(of vscode) would consider the type of
model
instance asas a result, the code completion didn't work well even for some simple case:
method
add
couldn't be found.type annotation
may help us deal with those above.Or some work around?
The text was updated successfully, but these errors were encountered: