Skip to content

Feature Request: type annotations for attributes #234

@kopp

Description

@kopp

When accessing attributes (e.g. the geometry of some feature via some_feature.geometry) it helps if those attributes are modeled in the type system. Then IDEs and tools like mypy can pick up those type hints and provide auto completion or help to avoid issues.

See the following screenshot for an example of IDE support:

Image

This proposal is similar to #167 but proposes to annotate the attribute-access rather than the key-access.

It would be a nice addition to #203 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions