githubkit
githubkit copied to clipboard
The modern, all-batteries-included GitHub SDK for Python, including rest api, graphql, webhooks, like octokit!
I decided to speed up my algorithm by sending multiple requests at the same time. It works fine until it doesn't because of the [rate limits](https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28) It would be nice...
Kinda strange error occur when I'm trying to get events for repository. It happens in code like: ``` auth = TokenAuthStrategy(GITHUB_TOKEN) gh = GitHub(auth=auth) async for event in gh.paginate( gh.rest.activity.async_list_repo_events,...
## Description There is an issue in the OAuth-related login implementation. After using OAuth to authenticate users, a token exchange operation is performed for each request. This is mainly caused...
When trying to use the paginate function like that: ``` org_id = "blabla" github = GitHub("token") for repo in github.paginate(github.rest.repos.list_for_org, org=org_id): print(repo) ``` I get the following type checking error...
Hello, I'm successfully using this library to interact with a GitHub Enterprise Server through the REST API. As you may know, for GHES, the REST API endpoint is located at...
Broken out from #194 I know I can pass as kwargs, but the signature has `*args: P.args`, so I would expect positional arguments to work too. If they're not intended...
I would expect the following to work: ```py github.paginate(github.rest.orgs.list_webhook_deliveries, hook_org, hook_id) ``` But currently, those values are passed to page/per_page. It seems like the only way to pass positional args...
Currently some features do not support type checking with `mypy` due to invalid type hints in the library. For example, the following: ```python issues = gh.rest.issues.list_for_repo("python", "mypy", state="open", sort="created").parsed_data for...