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: redirect.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:a7980bf3-82c6-aa30-3b27-3b477d828767 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9066:345462:B446B0:F42AC9:696934A4 |
| html-safe-nonce | 9768798d5a7ffeb8b0f4a4a8b7691088f155cef18200237f94ff84db53980ba1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDY2OjM0NTQ2MjpCNDQ2QjA6RjQyQUM5OjY5NjkzNEE0IiwidmlzaXRvcl9pZCI6IjI0ODA1MjYxNDI3Mjg2NDc4NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5d83acc91ecbe55851e11d8152d8d8cdd7802f4636a56780c82e401a805d747e |
| 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 | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width