Function Visual Studio Code Python Getting Attributes Of An Object