Title: typing fixes - DiffIndex generic type and IndexFile items by Andrej730 · Pull Request #1925 · gitpython-developers/GitPython · GitHub
Open Graph Title: typing fixes - DiffIndex generic type and IndexFile items by Andrej730 · Pull Request #1925 · gitpython-developers/GitPython
X Title: typing fixes - DiffIndex generic type and IndexFile items by Andrej730 · Pull Request #1925 · gitpython-developers/GitPython
Description: Example issue with DiffIndex: repo = git.Repo(path_dir) diff = repo.index.diff(None) modified_files = [d for d in repo.index.diff(None)] reveal_type(modified_files) # list[Unknown] instead of list[...
Open Graph Description: Example issue with DiffIndex: repo = git.Repo(path_dir) diff = repo.index.diff(None) modified_files = [d for d in repo.index.diff(None)] reveal_type(modified_files) # list[Unknown] instead of list[...
X Description: Example issue with DiffIndex: repo = git.Repo(path_dir) diff = repo.index.diff(None) modified_files = [d for d in repo.index.diff(None)] reveal_type(modified_files) # list[Unknown] instead of list[...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/1925
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:36e92ac6-3f0a-8314-da29-44f9fa6235bf |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AFC4:274FD0:4C7403:69CDEC:69696AFF |
| html-safe-nonce | 5775d85da520251826168ed5bfc72c970a27bfe7ed399eb110fe37384cba4db3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkM0OjI3NEZEMDo0Qzc0MDM6NjlDREVDOjY5Njk2QUZGIiwidmlzaXRvcl9pZCI6IjM3NzE3NjA1NTM2Mzc4MDA3MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a0831b29326330c83548898e59bad22a0505af6fb92e6b68a0b8e7bd5c3b740e |
| hovercard-subject-tag | pull_request:1899685215 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/pull_requests/show/gitpython-developers/GitPython/1925/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/94044d22ab29e44c432faa4960f5f7fedf6e3169e5395fed55ae0a83a88d4b1c/gitpython-developers/GitPython/pull/1925 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/94044d22ab29e44c432faa4960f5f7fedf6e3169e5395fed55ae0a83a88d4b1c/gitpython-developers/GitPython/pull/1925 |
| og:image:alt | Example issue with DiffIndex: repo = git.Repo(path_dir) diff = repo.index.diff(None) modified_files = [d for d in repo.index.diff(None)] reveal_type(modified_files) # list[Unknown] instead of list[... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Andrej730 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| 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 | ec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width