-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intellisense doesn't work for a Class Instance returned from another Class Instance #647
Comments
Worked on this code last night and it seems that this happens for instances of objects passed into a class that are not set within the For example, if I create a new instance of another Object within For example, changing my code to the below, allows me to reference
|
Please could you provide a code sample (or a repo) that we could use to replicate this issue. |
Because it has been more than a month since we requested more info, I'm closing this issue. If you are able to provide the info later then please do so and we can re-open the issue. |
Environment data
VS Code version: 1.19.3
Python Extension version: 0.9.1
Python Version: 3.5.1
OS and version: macOS 10.13.1
Actual behavior
I have an object called
Game
which contains a dictionary of twoTeam
objects. TheGame
class has a method which returns a Tuple of these two teams based on one of their attributes.Accessing the
Team
objects directly from the variable name that instantiated it allows for Intellisense to work correctly, but when I assign new values based on the return value of the function method above, Intellisense does not provide a list of attributes for those objects.Expected behavior
I would expect that a variable that references an instance of an Object also return the attributes related to that object.
This is the method that returns the

Team
objects from theGame
object -Logs
Output from
Python
output panelNo logs in output panel.
Output from
Console window
(Help->Developer Tools menu)No error logs in Console window.
Output from Terminal, showing memory addresses of referenced objects.
The text was updated successfully, but these errors were encountered: