github3.py icon indicating copy to clipboard operation
github3.py copied to clipboard

Hi, I'm a library for interacting with GItHub's REST API in a convenient and ergonomic way. I work on Python 3.6+.

Results 69 github3.py issues
Sort by recently updated
recently updated
newest added

GitHub recently announced the REST API versioning [1], and that they plan breaking changes to the API. In order to avoid this, they created the X-GitHub-Api-Version header to allow us...

With v3.2.0, when a branch protection is setup on a branch with "Restrict who can push to matching branches" enabled with one or more users or team, and no other...

I get a 409 attempting to update a branch file. The logs show ``` 2022-11-10 15:10:39,888 DEBUG [models] PUT https://github.xxx.com/api/v3/repos/owner/repo/contents/create_file.txt?ref=test-branch9 with {'data': '{"message": "test-branch9 2", "content": "dGVzdC1icmFuY2g5IDI=", "sha": "3f108ed16ed0e4775c6a574d4d06701495e6084b"}'} 2022-11-10...

https://github.com/integrations/terraform-provider-github/issues/1147 https://github.com/google/go-github/issues/2274 Apparently github changed API to deprecate "contexts" and replace it with "checks". ![image](https://user-images.githubusercontent.com/801922/194311753-9d8876e5-6cb1-4b1d-9c1d-5635d5d92996.png) However they return both in query and error on update if both are present (nb....

I'm trying to use GitHub3.py to find the number of total issues in a repository. For that, I want to use the Search API to search for the issues in...

updates: - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.10.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.0...v1.10.1)

I want to get issue only(which means the topic listed in `Issues` github page). But `issues_on` returns PR also: ``` issues = gh.issue('pytorch','pytorch',10) for issue in issues: print(issue.pull_request_urls) # some...

Hi, I try to use the code in the official documentation to get the OAuth token https://github3.readthedocs.io/en/latest/examples/oauth.html but with failure. `authorize` function is not available in github3 module. I try...