Title: Add type annotations and a `py.typed` marker · Issue #130 · selwin/python-user-agents · GitHub
Open Graph Title: Add type annotations and a `py.typed` marker · Issue #130 · selwin/python-user-agents
X Title: Add type annotations and a `py.typed` marker · Issue #130 · selwin/python-user-agents
Description: It would be helpful to projects using this library to be able to use mypy to ensure it's being used correctly. To do that, we'd need to annotate the types of the arguments and return values and add a py.typed marker to the module.
Open Graph Description: It would be helpful to projects using this library to be able to use mypy to ensure it's being used correctly. To do that, we'd need to annotate the types of the arguments and return values and add...
X Description: It would be helpful to projects using this library to be able to use mypy to ensure it's being used correctly. To do that, we'd need to annotate the types of the arguments and return values...
Opengraph URL: https://github.com/selwin/python-user-agents/issues/130
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add type annotations and a `py.typed` marker","articleBody":"It would be helpful to projects using this library to be able to use mypy to ensure it's being used correctly.\r\n\r\nTo do that, we'd need to annotate the types of the arguments and return values and add a `py.typed` marker to the module.","author":{"url":"https://github.com/j00bar","@type":"Person","name":"j00bar"},"datePublished":"2024-11-15T15:14:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/130/python-user-agents/issues/130"}
| 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:79e650ca-ef87-fb3d-48d3-8912a52e87fa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE0E:CCF64:22B7034:2E63F84:6992E39B |
| html-safe-nonce | 600268f0db62acc466b40861237fbed9b62a3cca7ab541fefdfe8878a2fb3a30 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTBFOkNDRjY0OjIyQjcwMzQ6MkU2M0Y4NDo2OTkyRTM5QiIsInZpc2l0b3JfaWQiOiIzOTEyNDcxODc3MDU1MDc5MzIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c6700e18e2519f69d63567a54e53da1aafba1f1cc0d5e7268aaad827fde72ade |
| hovercard-subject-tag | issue:2662271661 |
| 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/selwin/python-user-agents/130/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9e6ff85af7df58574f3d3432e00c70f053054e2b7c91251a29fb67ae58a97c42/selwin/python-user-agents/issues/130 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9e6ff85af7df58574f3d3432e00c70f053054e2b7c91251a29fb67ae58a97c42/selwin/python-user-agents/issues/130 |
| og:image:alt | It would be helpful to projects using this library to be able to use mypy to ensure it's being used correctly. To do that, we'd need to annotate the types of the arguments and return values and add... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | j00bar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/selwin/python-user-agents git https://github.com/selwin/python-user-agents.git |
| octolytics-dimension-user_id | 188658 |
| octolytics-dimension-user_login | selwin |
| octolytics-dimension-repository_id | 7449695 |
| octolytics-dimension-repository_nwo | selwin/python-user-agents |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7449695 |
| octolytics-dimension-repository_network_root_nwo | selwin/python-user-agents |
| 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 | 84dcb133269e3cfe6e0296cc85fbacb92cae92bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width