Title: py.typed file / type stubs are missing · Issue #876 · massive-com/client-python · GitHub
Open Graph Title: py.typed file / type stubs are missing · Issue #876 · massive-com/client-python
X Title: py.typed file / type stubs are missing · Issue #876 · massive-com/client-python
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.py or any other example file mypy stocks...
Open Graph 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....
X 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....
Opengraph URL: https://github.com/massive-com/client-python/issues/876
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"py.typed file / type stubs are missing","articleBody":"**Describe the bug**\nThe `polygon` package does not export its type information to mypy, which causes mypy to fail when used on downstream packages\n\n**To Reproduce**\n1. Download `examples/stocks-daily_open_close.py` or any other example file\n2. `mypy stocks-daily_open_close.py`\n3. Observe the following error:\n```\nstocks-daily_open_close.py:1: error: Skipping analyzing \"polygon\": module is installed, but missing library stubs or py.typed marker [import-untyped]\nstocks-daily_open_close.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports\nFound 1 error in 1 file (checked 1 source file)\n```\n\n**Expected behavior**\nThe type checks should pass\n\n**Additional context**\nI think all that is needed is to add the missing `py.typed` file to the `polygon` package","author":{"url":"https://github.com/cberner","@type":"Person","name":"cberner"},"datePublished":"2025-04-25T16:26:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/876/client-python/issues/876"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c139eb45-b26e-5594-2103-70d2098bf020 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B4A0:270D1E:4F0E18:6A80E5:6A4D3307 |
| html-safe-nonce | be0f3030d9a451522139e98a539b85164814e56e80c8b53e66a3dda7487b6af6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEEwOjI3MEQxRTo0RjBFMTg6NkE4MEU1OjZBNEQzMzA3IiwidmlzaXRvcl9pZCI6Ijc0Mzc0NTQ3OTY0OTgyMTk3ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f227bb1057c927a38037e52cd2855cf209d61aa09d033d9051290f6587817843 |
| hovercard-subject-tag | issue:3020512148 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/massive-com/client-python/876/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4ff0ce893f62429b133777495a252283e7474444966c12d51d03b2dff01d11c3/massive-com/client-python/issues/876 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4ff0ce893f62429b133777495a252283e7474444966c12d51d03b2dff01d11c3/massive-com/client-python/issues/876 |
| og:image:alt | 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.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cberner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/massive-com/client-python git https://github.com/massive-com/client-python.git |
| octolytics-dimension-user_id | 191946194 |
| octolytics-dimension-user_login | massive-com |
| octolytics-dimension-repository_id | 216660192 |
| octolytics-dimension-repository_nwo | massive-com/client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 216660192 |
| octolytics-dimension-repository_network_root_nwo | massive-com/client-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width