githubkit 0.10.0__py3-none-any.whl → 0.10.2__py3-none-any.whl

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 (44) hide show
  1. githubkit/rest/__init__.py +9 -1
  2. githubkit/rest/actions.py +1532 -1263
  3. githubkit/rest/activity.py +338 -317
  4. githubkit/rest/apps.py +410 -361
  5. githubkit/rest/billing.py +41 -38
  6. githubkit/rest/checks.py +240 -227
  7. githubkit/rest/code_scanning.py +200 -191
  8. githubkit/rest/codes_of_conduct.py +17 -14
  9. githubkit/rest/codespaces.py +550 -505
  10. githubkit/rest/dependabot.py +250 -249
  11. githubkit/rest/dependency_graph.py +91 -33
  12. githubkit/rest/emojis.py +11 -8
  13. githubkit/rest/gists.py +218 -193
  14. githubkit/rest/git.py +190 -139
  15. githubkit/rest/gitignore.py +17 -14
  16. githubkit/rest/interactions.py +122 -93
  17. githubkit/rest/issues.py +604 -597
  18. githubkit/rest/licenses.py +30 -27
  19. githubkit/rest/markdown.py +40 -27
  20. githubkit/rest/meta.py +38 -35
  21. githubkit/rest/migrations.py +294 -247
  22. githubkit/rest/models.py +3961 -2581
  23. githubkit/rest/oidc.py +40 -21
  24. githubkit/rest/orgs.py +694 -637
  25. githubkit/rest/packages.py +204 -201
  26. githubkit/rest/projects.py +362 -289
  27. githubkit/rest/pulls.py +406 -377
  28. githubkit/rest/rate_limit.py +11 -8
  29. githubkit/rest/reactions.py +294 -305
  30. githubkit/rest/repos.py +3876 -2446
  31. githubkit/rest/search.py +104 -103
  32. githubkit/rest/secret_scanning.py +112 -109
  33. githubkit/rest/security_advisories.py +581 -0
  34. githubkit/rest/teams.py +676 -607
  35. githubkit/rest/types.py +1018 -11
  36. githubkit/rest/users.py +474 -403
  37. githubkit/utils.py +17 -6
  38. githubkit/webhooks/models.py +1497 -1629
  39. githubkit/webhooks/types.py +10 -1
  40. {githubkit-0.10.0.dist-info → githubkit-0.10.2.dist-info}/METADATA +1 -1
  41. githubkit-0.10.2.dist-info/RECORD +68 -0
  42. githubkit-0.10.0.dist-info/RECORD +0 -67
  43. {githubkit-0.10.0.dist-info → githubkit-0.10.2.dist-info}/LICENSE +0 -0
  44. {githubkit-0.10.0.dist-info → githubkit-0.10.2.dist-info}/WHEEL +0 -0
@@ -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)