airbyte-source-github 1.6.3__tar.gz → 1.6.5__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 (61) hide show
  1. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/PKG-INFO +3 -3
  2. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/pyproject.toml +3 -3
  3. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/streams.py +6 -2
  4. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/README.md +0 -0
  5. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/__init__.py +0 -0
  6. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/config_migrations.py +0 -0
  7. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/constants.py +0 -0
  8. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/github_schema.py +0 -0
  9. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/graphql.py +0 -0
  10. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/run.py +0 -0
  11. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/assignees.json +0 -0
  12. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/branches.json +0 -0
  13. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/collaborators.json +0 -0
  14. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/comments.json +0 -0
  15. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/commit_comment_reactions.json +0 -0
  16. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/commit_comments.json +0 -0
  17. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/commits.json +0 -0
  18. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/contributor_activity.json +0 -0
  19. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/deployments.json +0 -0
  20. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/events.json +0 -0
  21. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/issue_comment_reactions.json +0 -0
  22. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/issue_events.json +0 -0
  23. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/issue_labels.json +0 -0
  24. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/issue_milestones.json +0 -0
  25. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/issue_reactions.json +0 -0
  26. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/issue_timeline_events.json +0 -0
  27. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/issues.json +0 -0
  28. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/organizations.json +0 -0
  29. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/project_cards.json +0 -0
  30. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/project_columns.json +0 -0
  31. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/projects.json +0 -0
  32. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/projects_v2.json +0 -0
  33. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/pull_request_comment_reactions.json +0 -0
  34. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/pull_request_commits.json +0 -0
  35. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/pull_request_stats.json +0 -0
  36. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/pull_requests.json +0 -0
  37. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/releases.json +0 -0
  38. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/repositories.json +0 -0
  39. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/review_comments.json +0 -0
  40. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/reviews.json +0 -0
  41. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/shared/events/comment.json +0 -0
  42. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/shared/events/commented.json +0 -0
  43. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/shared/events/committed.json +0 -0
  44. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/shared/events/cross_referenced.json +0 -0
  45. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/shared/events/reviewed.json +0 -0
  46. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/shared/reaction.json +0 -0
  47. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/shared/reactions.json +0 -0
  48. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/shared/user.json +0 -0
  49. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/shared/user_graphql.json +0 -0
  50. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/stargazers.json +0 -0
  51. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/tags.json +0 -0
  52. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/team_members.json +0 -0
  53. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/team_memberships.json +0 -0
  54. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/teams.json +0 -0
  55. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/users.json +0 -0
  56. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/workflow_jobs.json +0 -0
  57. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/workflow_runs.json +0 -0
  58. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/schemas/workflows.json +0 -0
  59. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/source.py +0 -0
  60. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/spec.json +0 -0
  61. {airbyte_source_github-1.6.3 → airbyte_source_github-1.6.5}/source_github/utils.py +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-source-github
3
- Version: 1.6.3
4
- Summary: Source implementation for Github.
3
+ Version: 1.6.5
4
+ Summary: Source implementation for GitHub.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
7
7
  Author: Airbyte
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Programming Language :: Python :: 3.9
13
13
  Classifier: Programming Language :: Python :: 3.10
14
14
  Classifier: Programming Language :: Python :: 3.11
15
- Requires-Dist: airbyte-cdk (>=0.62.1,<0.63.0)
15
+ Requires-Dist: airbyte-cdk (>=0.68.4,<0.69.0)
16
16
  Requires-Dist: sgqlc (==16.3)
17
17
  Project-URL: Documentation, https://docs.airbyte.com/integrations/sources/github
18
18
  Project-URL: Repository, https://github.com/airbytehq/airbyte
@@ -5,9 +5,9 @@ requires = [
5
5
  build-backend = "poetry.core.masonry.api"
6
6
 
7
7
  [tool.poetry]
8
- version = "1.6.3"
8
+ version = "1.6.5"
9
9
  name = "airbyte-source-github"
10
- description = "Source implementation for Github."
10
+ description = "Source implementation for GitHub."
11
11
  authors = [
12
12
  "Airbyte <contact@airbyte.io>",
13
13
  ]
@@ -22,7 +22,7 @@ packages = [
22
22
 
23
23
  [tool.poetry.dependencies]
24
24
  python = "^3.9,<3.12"
25
- airbyte-cdk = "^0.62.1"
25
+ airbyte-cdk = "^0.68.4"
26
26
  sgqlc = "==16.3"
27
27
 
28
28
  [tool.poetry.scripts]
@@ -15,6 +15,7 @@ from airbyte_cdk.sources.streams.availability_strategy import AvailabilityStrate
15
15
  from airbyte_cdk.sources.streams.http import HttpStream
16
16
  from airbyte_cdk.sources.streams.http.exceptions import DefaultBackoffException
17
17
  from airbyte_cdk.utils import AirbyteTracedException
18
+ from airbyte_protocol.models import FailureType
18
19
  from requests.exceptions import HTTPError
19
20
 
20
21
  from . import constants
@@ -216,8 +217,11 @@ class GithubStreamABC(HttpStream, ABC):
216
217
 
217
218
  self.logger.warning(error_msg)
218
219
  except GitHubAPILimitException as e:
219
- message = f"Stream: `{self.name}`, slice: `{stream_slice}`. Limits for all provided tokens are reached, please try again later"
220
- raise AirbyteTracedException(message) from e
220
+ internal_message = (
221
+ f"Stream: `{self.name}`, slice: `{stream_slice}`. Limits for all provided tokens are reached, please try again later"
222
+ )
223
+ message = "Rate Limits for all provided tokens are reached. For more information please refer to documentation: https://docs.airbyte.com/integrations/sources/github#limitations--troubleshooting"
224
+ raise AirbyteTracedException(internal_message=internal_message, message=message, failure_type=FailureType.config_error) from e
221
225
 
222
226
 
223
227
  class GithubStream(GithubStreamABC):