Title: Typing · Issue #28 · bloomberg/python-github-webhook · GitHub
Open Graph Title: Typing · Issue #28 · bloomberg/python-github-webhook
X Title: Typing · Issue #28 · bloomberg/python-github-webhook
Description: Would you be interested in shipping an auto-generated module that can be used as type annotation? That way people could just do the following: @webhook.hook() def on_push(data: webhook.events.Push): data['
Open Graph Description: Would you be interested in shipping an auto-generated module that can be used as type annotation? That way people could just do the following: @webhook.hook() def on_push(data: webhook.events.Push)...
X Description: Would you be interested in shipping an auto-generated module that can be used as type annotation? That way people could just do the following: @webhook.hook() def on_push(data: webhook.events.Push)...
Opengraph URL: https://github.com/bloomberg/python-github-webhook/issues/28
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Typing","articleBody":"Would you be interested in shipping an auto-generated module that can be used as type annotation?\r\n\r\nThat way people could just do the following:\r\n\r\n```py\r\n@webhook.hook()\r\ndef on_push(data: webhook.events.Push):\r\n data['\u003ctab\u003e\r\n```\r\n\r\nand get autocompletion in e.g. PyCharm.\r\n\r\nOctokit provides a versioned schema: https://github.com/octokit/webhooks/blob/v3.11.2/index.json","author":{"url":"https://github.com/flying-sheep","@type":"Person","name":"flying-sheep"},"datePublished":"2020-08-05T08:38:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/28/python-github-webhook/issues/28"}
| 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:d5b4e3ac-6735-3062-7864-44a63d2eddd1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A342:2EE916:DFF8B5:13D36D1:696F48CD |
| html-safe-nonce | 3420b3c531c3822ecf861d74b7a1afd06b045ea2d277c64c49e953b4aba0206c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzQyOjJFRTkxNjpERkY4QjU6MTNEMzZEMTo2OTZGNDhDRCIsInZpc2l0b3JfaWQiOiI2NTkwOTcyMDA0NTI2NTEyMTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c33985ba572224c4a1bc88c6ecff58e22c2b99c4b1eb06e505eb24eea50ed1a4 |
| hovercard-subject-tag | issue:673363616 |
| 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/bloomberg/python-github-webhook/28/issue_layout |
| twitter:image | https://opengraph.githubassets.com/68a02cf006ec32bdff7ac41300029c64a830dca29ffec23917bc1777dfaa978e/bloomberg/python-github-webhook/issues/28 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/68a02cf006ec32bdff7ac41300029c64a830dca29ffec23917bc1777dfaa978e/bloomberg/python-github-webhook/issues/28 |
| og:image:alt | Would you be interested in shipping an auto-generated module that can be used as type annotation? That way people could just do the following: @webhook.hook() def on_push(data: webhook.events.Push)... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | flying-sheep |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/bloomberg/python-github-webhook git https://github.com/bloomberg/python-github-webhook.git |
| octolytics-dimension-user_id | 1416818 |
| octolytics-dimension-user_login | bloomberg |
| octolytics-dimension-repository_id | 50692237 |
| octolytics-dimension-repository_nwo | bloomberg/python-github-webhook |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 50692237 |
| octolytics-dimension-repository_network_root_nwo | bloomberg/python-github-webhook |
| 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 | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width