Skip to content

Image.filename is not an exposed property #7941

@bburtin

Description

@bburtin

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

Pillow filename screenshot

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions