github-rest-api 0.34.0__tar.gz → 0.34.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/PKG-INFO +1 -1
  2. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/github_rest_api/github.py +3 -3
  3. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/pyproject.toml +1 -1
  4. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/uv.lock +1 -1
  5. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/.gemini/system.md +0 -0
  6. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/.github/workflows/create_pr_dev_to_main.yml +0 -0
  7. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/.github/workflows/create_pr_to_dev.yml +0 -0
  8. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/.github/workflows/lint.yml +0 -0
  9. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/.github/workflows/release.yml +0 -0
  10. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/.gitignore +0 -0
  11. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/.gitpod.yml +0 -0
  12. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/GEMINI.md +0 -0
  13. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/README.md +0 -0
  14. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/github_rest_api/__init__.py +0 -0
  15. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/github_rest_api/actions/__init__.py +0 -0
  16. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/github_rest_api/actions/cargo/__init__.py +0 -0
  17. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/github_rest_api/actions/cargo/benchmark.py +0 -0
  18. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/github_rest_api/actions/cargo/profiling.py +0 -0
  19. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/github_rest_api/actions/cargo/utils.py +0 -0
  20. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/github_rest_api/actions/utils.py +0 -0
  21. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/github_rest_api/utils.py +0 -0
  22. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/tests/__init__.py +0 -0
  23. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/tests/test_github.py +0 -0
  24. {github_rest_api-0.34.0 → github_rest_api-0.34.1}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: github-rest-api
3
- Version: 0.34.0
3
+ Version: 0.34.1
4
4
  Summary: Simple wrapper of GitHub REST APIs.
5
5
  Author-email: Ben Du <longendu@yahoo.com>
6
6
  Classifier: Programming Language :: Python :: 3 :: Only
@@ -265,7 +265,7 @@ class Repository(GitHub):
265
265
  """Delete this repository from GitHub."""
266
266
  return self._delete(url=self._url_repo)
267
267
 
268
- def delete_ref(self, ref: str) -> dict[str, Any]:
268
+ def delete_ref(self, ref: str) -> requests.Response:
269
269
  """Delete a reference from this repository.
270
270
  :param ref: The reference to delete from this repository.
271
271
  """
@@ -273,9 +273,9 @@ class Repository(GitHub):
273
273
  raise ValueError("A string value is required for `ref`.")
274
274
  return self._delete(
275
275
  url=f"{self._url_refs}/{ref}",
276
- ).json()
276
+ )
277
277
 
278
- def delete_branch(self, branch: str) -> dict[str, Any]:
278
+ def delete_branch(self, branch: str) -> requests.Response:
279
279
  """Delete a branch from this repository.
280
280
  :param branch: The branch to delete from this repository.
281
281
  """
@@ -4,7 +4,7 @@ requires = [ "hatchling" ]
4
4
 
5
5
  [project]
6
6
  name = "github-rest-api"
7
- version = "0.34.0"
7
+ version = "0.34.1"
8
8
  description = "Simple wrapper of GitHub REST APIs."
9
9
  readme = "README.md"
10
10
  authors = [ { name = "Ben Du", email = "longendu@yahoo.com" } ]
@@ -195,7 +195,7 @@ wheels = [
195
195
 
196
196
  [[package]]
197
197
  name = "github-rest-api"
198
- version = "0.34.0"
198
+ version = "0.34.1"
199
199
  source = { editable = "." }
200
200
  dependencies = [
201
201
  { name = "dulwich" },