Title: Fix warning in Pyright ("Repo" not exported from module "git") · Issue #1656 · gitpython-developers/GitPython · GitHub
Open Graph Title: Fix warning in Pyright ("Repo" not exported from module "git") · Issue #1656 · gitpython-developers/GitPython
X Title: Fix warning in Pyright ("Repo" not exported from module "git") · Issue #1656 · gitpython-developers/GitPython
Description: In Pyright, the following line of code causes the following error: import git gitRepo = git.Repo(__file__) Error:
Open Graph Description: In Pyright, the following line of code causes the following error: import git gitRepo = git.Repo(__file__) Error:
X Description: In Pyright, the following line of code causes the following error: import git gitRepo = git.Repo(__file__) Error:
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1656
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fix warning in Pyright (\"Repo\" not exported from module \"git\")","articleBody":"In Pyright, the following line of code causes the following error:\r\n```python\r\nimport git\r\ngitRepo = git.Repo(__file__)\r\n```\r\n\r\nError:\r\n\r\n","author":{"url":"https://github.com/DeflateAwning","@type":"Person","name":"DeflateAwning"},"datePublished":"2023-09-12T00:02:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/1656/GitPython/issues/1656"}
| 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:16b78717-8901-c8e3-640c-f4c600aecd19 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEFA:2ED9DC:F6DEF:14CBF0:69687DFD |
| html-safe-nonce | 9f91adf4af483add2584eaf54f390c12ba550500cd10136aae7e6f4e3743fd15 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUZBOjJFRDlEQzpGNkRFRjoxNENCRjA6Njk2ODdERkQiLCJ2aXNpdG9yX2lkIjoiMjA2NDU2MzI2NzM5NTE1NzUwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 99d10e977b081c8dea312499eb91e19f38361a32aa8349c2455efac4128420e0 |
| hovercard-subject-tag | issue:1891451389 |
| 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/gitpython-developers/GitPython/1656/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8d5730189cc21511a809c17788c83f397a39ea5b4d72bc99d84b18a7baacf99d/gitpython-developers/GitPython/issues/1656 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8d5730189cc21511a809c17788c83f397a39ea5b4d72bc99d84b18a7baacf99d/gitpython-developers/GitPython/issues/1656 |
| og:image:alt | In Pyright, the following line of code causes the following error: import git gitRepo = git.Repo(__file__) Error: |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DeflateAwning |
| hostname | github.com |
| expected-hostname | github.com |
| None | 50f46dc2d6192249fd8ebf20e76c800f4f2596d4a5f3ab63dd63a754df154f54 |
| 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 | fef287f17234b4529a4b112a3d47fe8551e32ddd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width