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:dadc2f59-94f6-3c0e-4abd-bc38707e8187 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BC22:3F2463:31AA12:44C158:6967CF76 |
| html-safe-nonce | 49e52a4ccfd44d18e82d8b8c3ef647a967b9ce38ebcc0b0d5a6049d033145b8a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzIyOjNGMjQ2MzozMUFBMTI6NDRDMTU4OjY5NjdDRjc2IiwidmlzaXRvcl9pZCI6Ijc3MTM5MzY1NjAxNzk2Mjk5NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9c21c19c3c17df7c9fa592e731a5b027c8558441d7733ec7f01c0bfadde9e4fd |
| 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 | 14e0d722f75b0b025fe0e288daf623a1aaf571977ca14ad1529d490d6c64619b |
| 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 | 4170fbd32815203bb4883f3e5f85ebea81eb5d6c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width