Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing type annotations in Python Library #8294

Open
AlexMax opened this issue Apr 29, 2024 · 0 comments
Open

Missing type annotations in Python Library #8294

AlexMax opened this issue Apr 29, 2024 · 0 comments

Comments

@AlexMax
Copy link

AlexMax commented Apr 29, 2024

When I incorporate flatbuffers into a Python program that is typed, I get the following warning from mypy when I attempt to import flatbuffers:

Skipping analyzing "flatbuffers": module is installed, but missing library stubs or py.typed marker

I took a look at the library, and indeed, the library is not typed.

Is there any interest or plan to add type annotations to the Python library? Would a pull request that adds types to the library be acceptable? If so, what are the officially supported versions of Python, and would you prefer if the types were inline, or put in an external pyi file?

@AlexMax AlexMax changed the title Missing Python Types in Python Library Missing type annotations in Python Library Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant