Function Visual Studio Code Python Getting Attributes