The Pillow reference says that Image.filename is an attribute, but VSCode doesn't auto-complete it. This code works:

but VSCode shows image.filename as white whereas the other attributes are blue. Is it possible to make Image.filename a declared Python attribute so that developers have confidence that their code will work?
I'm using Pillow 10.3.0.
The Pillow reference says that Image.filename is an attribute, but VSCode doesn't auto-complete it. This code works:
but VSCode shows
image.filenameas white whereas the other attributes are blue. Is it possible to makeImage.filenamea declared Python attribute so that developers have confidence that their code will work?I'm using Pillow 10.3.0.