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?
When I incorporate
flatbuffers
into a Python program that is typed, I get the following warning frommypy
when I attempt toimport flatbuffers
: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?