box-python-sdk icon indicating copy to clipboard operation
box-python-sdk copied to clipboard

Missing py.typed marker in box_sdk_gen causes mypy import-untyped error

Open alexlitvinenko opened this issue 5 months ago • 1 comments

When I run mypy on my project, it highlights the following import:

from box_sdk_gen import ...

with the error:

error: Skipping analyzing "box_sdk_gen": module is installed, but missing library stubs or py.typed marker  [import-untyped]

This can be simply resolved by adding a py.typed file to the root of the box_sdk_gen package to indicate that the package includes type hints.

More details.

Image

alexlitvinenko avatar Sep 05 '25 09:09 alexlitvinenko

Hi, thanks for contacting us. We will consider adding support for mypy in the close future. Best, @lukaszsocha2

lukaszsocha2 avatar Sep 05 '25 11:09 lukaszsocha2