githubkit 0.10.0__tar.gz → 0.10.2__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 (68) hide show
  1. {githubkit-0.10.0 → githubkit-0.10.2}/PKG-INFO +1 -1
  2. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/__init__.py +9 -1
  3. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/actions.py +1532 -1263
  4. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/activity.py +338 -317
  5. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/apps.py +410 -361
  6. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/billing.py +41 -38
  7. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/checks.py +240 -227
  8. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/code_scanning.py +200 -191
  9. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/codes_of_conduct.py +17 -14
  10. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/codespaces.py +550 -505
  11. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/dependabot.py +250 -249
  12. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/dependency_graph.py +91 -33
  13. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/emojis.py +11 -8
  14. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/gists.py +218 -193
  15. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/git.py +190 -139
  16. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/gitignore.py +17 -14
  17. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/interactions.py +122 -93
  18. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/issues.py +604 -597
  19. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/licenses.py +30 -27
  20. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/markdown.py +40 -27
  21. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/meta.py +38 -35
  22. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/migrations.py +294 -247
  23. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/models.py +3961 -2581
  24. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/oidc.py +40 -21
  25. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/orgs.py +694 -637
  26. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/packages.py +204 -201
  27. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/projects.py +362 -289
  28. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/pulls.py +406 -377
  29. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/rate_limit.py +11 -8
  30. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/reactions.py +294 -305
  31. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/repos.py +3876 -2446
  32. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/search.py +104 -103
  33. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/secret_scanning.py +112 -109
  34. githubkit-0.10.2/githubkit/rest/security_advisories.py +581 -0
  35. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/teams.py +676 -607
  36. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/types.py +1018 -11
  37. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/rest/users.py +474 -403
  38. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/utils.py +17 -6
  39. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/webhooks/models.py +1497 -1629
  40. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/webhooks/types.py +10 -1
  41. {githubkit-0.10.0 → githubkit-0.10.2}/pyproject.toml +13 -1
  42. {githubkit-0.10.0 → githubkit-0.10.2}/LICENSE +0 -0
  43. {githubkit-0.10.0 → githubkit-0.10.2}/README.md +0 -0
  44. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/__init__.py +0 -0
  45. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/auth/__init__.py +0 -0
  46. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/auth/_url.py +0 -0
  47. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/auth/action.py +0 -0
  48. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/auth/app.py +0 -0
  49. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/auth/base.py +0 -0
  50. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/auth/oauth.py +0 -0
  51. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/auth/token.py +0 -0
  52. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/auth/unauth.py +0 -0
  53. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/cache/__init__.py +0 -0
  54. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/cache/base.py +0 -0
  55. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/cache/mem_cache.py +0 -0
  56. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/config.py +0 -0
  57. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/core.py +0 -0
  58. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/exception.py +0 -0
  59. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/github.py +0 -0
  60. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/graphql/__init__.py +0 -0
  61. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/graphql/models.py +0 -0
  62. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/paginator.py +0 -0
  63. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/py.typed +0 -0
  64. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/response.py +0 -0
  65. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/typing.py +0 -0
  66. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/webhooks/__init__.py +0 -0
  67. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/webhooks/parse.py +0 -0
  68. {githubkit-0.10.0 → githubkit-0.10.2}/githubkit/webhooks/verify.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: githubkit
3
- Version: 0.10.0
3
+ Version: 0.10.2
4
4
  Summary: GitHub SDK for Python
5
5
  Home-page: https://github.com/yanyongyu/githubkit
6
6
  License: MIT
@@ -1,6 +1,9 @@
1
1
  """DO NOT EDIT THIS FILE!
2
2
 
3
- This file is auto generated by github rest api description.
3
+ This file is automatically @generated by githubkit using the follow command:
4
+
5
+ python -m codegen && isort . && black .
6
+
4
7
  See https://github.com/github/rest-api-description for more information.
5
8
  """
6
9
 
@@ -40,6 +43,7 @@ from .code_scanning import CodeScanningClient
40
43
  from .secret_scanning import SecretScanningClient
41
44
  from .codes_of_conduct import CodesOfConductClient
42
45
  from .dependency_graph import DependencyGraphClient
46
+ from .security_advisories import SecurityAdvisoriesClient
43
47
 
44
48
  if TYPE_CHECKING:
45
49
  from githubkit import GitHubCore
@@ -169,6 +173,10 @@ class RestNamespace:
169
173
  def pulls(self) -> PullsClient:
170
174
  return PullsClient(self._github)
171
175
 
176
+ @cached_property
177
+ def security_advisories(self) -> SecurityAdvisoriesClient:
178
+ return SecurityAdvisoriesClient(self._github)
179
+
172
180
  @cached_property
173
181
  def search(self) -> SearchClient:
174
182
  return SearchClient(self._github)