Skip to content

Python: add type stubs #139

Open
@MKuranowski

Description

@MKuranowski

The Python package comes without type stubs, even tough the protoc compiler contains a --pyi_out option to generate them.

Apart from allowing type checking for users of the gtfs-realtime-bindings package, type stubs would be especially helpful to understand what objects and methods are available in the package, as the generate modules relies heavily on runtime reflection, which isn't really human readable.

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