Objects instantiated by VS Code Python third-party library pillow cannot be automatically completed?

problem description

recently, I just started to learn to use Python for image processing, and built a Python environment with VS Code on Mac.
the library of image processing is currently using the branch of Pillow,PIL. I found that the automatic completion of VS Code is a little strange, so I came to ask for advice

.

the main problem is that the Image object instantiated by the pillow library cannot be completed automatically. See the code below and the picture

.

related codes

  https://codeshelper.com/q/10.
seems to be pillow"s own problem?

Environment

Environmental Information: macOS,Python 3.6.6 vs Code 1.28.2


found the reason on stackoverflow, but it has nothing to do with IDE.
https://stackoverflow.com/que.
the crux of the problem is that IDE cannot speculate what type Image.open () returns. You can tell IDE through comments

.
from PIL import Image

image = Image.open('./1.jpg')  -sharp type: Image.Image
image.show()

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9c992-6905d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9c992-6905d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?