massive-com / massive-com/client-python
py.typed file / type stubs are missing
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 362
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
The polygon package does not export its type information to mypy, which causes mypy to fail when used on downstream packages
To Reproduce
- Download
examples/stocks-daily_open_close.pyor any other example file mypy stocks-daily_open_close.py- Observe the following error:
stocks-daily_open_close.py:1: error: Skipping analyzing "polygon": module is installed, but missing library stubs or py.typed marker [import-untyped]
stocks-daily_open_close.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 1 source file)
Expected behavior
The type checks should pass
Additional context
I think all that is needed is to add the missing py.typed file to the polygon package
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the installed polygon package and reproduce the report with examples/stocks-daily_open_close.py using mypy. Check that the package exports its type information as described in the issue, then verify that the example passes type checking without the missing-stubs error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100