Title: Type hints · gitpython-developers/gitdb · Discussion #108 · GitHub
Open Graph Title: Type hints · gitpython-developers/gitdb · Discussion #108
X Title: Type hints · gitpython-developers/gitdb · Discussion #108
Description: Type hints
Open Graph Description: Would this library be interested in type hints being added? Is there a reason GitPython library have all type hints ready but this part? If people are open to type hints, I would be glad to help ad...
X Description: Would this library be interested in type hints being added? Is there a reason GitPython library have all type hints ready but this part? If people are open to type hints, I would be glad to help ad...
Opengraph URL: https://github.com/gitpython-developers/gitdb/discussions/108
X: @github
Domain: redirect.github.com
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"Type hints","text":"Would this library be interested in type hints being added? Is there a reason GitPython library have all type hints ready but this part?
\nIf people are open to type hints, I would be glad to help add those.
","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Ideally, gitdb wouldn't be used anymore, even from GitPython. Apparently that's not the case in practice though so having types that make it easier to work with seems useful nonetheless.
\nMy recommendation is to restrict any contributed types, which are welcome, to the ones ordinary users would encounter while interacting with GitPython and its default object backend (the one that uses git), and avoid putting any work in types that are related to gitdb being used as pure object database as that shouldn't be done. See #106 as example for how broken it is, besides its sluggish performance.
","upvoteCount":1,"url":"https://github.com/gitpython-developers/gitdb/discussions/108#discussioncomment-7399824"}}}
| route-pattern | /_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:7b0375e5-97fd-9a40-9a78-1171d28dae79 |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | EB18:14F6C1:757003:A29C5D:69695100 |
| html-safe-nonce | 9f521c4f9e564a09e623c365779a7b1bfec5c301c5d46dbe15239d4f1415383f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjE4OjE0RjZDMTo3NTcwMDM6QTI5QzVEOjY5Njk1MTAwIiwidmlzaXRvcl9pZCI6IjY5OTA4NzExNjIyNjY0MDcxNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f6bb27422ca782fabf13060fceb12ad9da2b00ef5f88ceb9b480f7b9bfce4195 |
| hovercard-subject-tag | discussion:5782903 |
| github-keyboard-shortcuts | repository,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/Voltron::DiscussionsFragmentsController/show/gitpython-developers/gitdb/108/discussion_layout |
| twitter:image | https://opengraph.githubassets.com/43f48c8f337cc3c425818684aa835ef06cb11669f0630c828606686911a4b57d/gitpython-developers/gitdb/discussions/108 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/43f48c8f337cc3c425818684aa835ef06cb11669f0630c828606686911a4b57d/gitpython-developers/gitdb/discussions/108 |
| og:image:alt | Would this library be interested in type hints being added? Is there a reason GitPython library have all type hints ready but this part? If people are open to type hints, I would be glad to help ad... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/gitdb git https://github.com/gitpython-developers/gitdb.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126093 |
| octolytics-dimension-repository_nwo | gitpython-developers/gitdb |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126093 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/gitdb |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width