airbyte-source-github 2.1.18__tar.gz → 2.1.20__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.
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/PKG-INFO +2 -2
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/pyproject.toml +2 -2
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/errors_handlers.py +3 -3
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/streams.py +1 -1
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/README.md +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/__init__.py +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/backoff_strategies.py +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/config_migrations.py +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/constants.py +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/github_schema.py +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/graphql.py +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/run.py +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/assignees.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/branches.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/collaborators.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/comments.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/commit_comment_reactions.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/commit_comments.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/commits.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/contributor_activity.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/deployments.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/events.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/issue_comment_reactions.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/issue_events.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/issue_labels.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/issue_milestones.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/issue_reactions.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/issue_timeline_events.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/issues.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/organizations.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/project_cards.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/project_columns.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/projects.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/projects_v2.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/pull_request_comment_reactions.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/pull_request_commits.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/pull_request_stats.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/pull_requests.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/releases.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/repositories.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/review_comments.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/reviews.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/shared/events/comment.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/shared/events/commented.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/shared/events/committed.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/shared/events/cross_referenced.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/shared/events/reviewed.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/shared/reaction.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/shared/reactions.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/shared/user.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/shared/user_graphql.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/stargazers.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/tags.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/team_members.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/team_memberships.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/teams.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/users.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/workflow_jobs.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/workflow_runs.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/workflows.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/source.py +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/spec.json +0 -0
- {airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: airbyte-source-github
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.20
|
|
4
4
|
Summary: Source implementation for GitHub.
|
|
5
5
|
Home-page: https://airbyte.com
|
|
6
6
|
License: ELv2
|
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
-
Requires-Dist: airbyte-cdk (>=7.
|
|
16
|
+
Requires-Dist: airbyte-cdk (>=7.12.0,<8.0.0)
|
|
17
17
|
Requires-Dist: sgqlc (==16.3)
|
|
18
18
|
Project-URL: Documentation, https://docs.airbyte.com/integrations/sources/github
|
|
19
19
|
Project-URL: Repository, https://github.com/airbytehq/airbyte
|
|
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
|
|
|
3
3
|
build-backend = "poetry.core.masonry.api"
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
|
-
version = "2.1.
|
|
6
|
+
version = "2.1.20"
|
|
7
7
|
name = "airbyte-source-github"
|
|
8
8
|
description = "Source implementation for GitHub."
|
|
9
9
|
authors = [ "Airbyte <contact@airbyte.io>",]
|
|
@@ -17,7 +17,7 @@ include = "source_github"
|
|
|
17
17
|
|
|
18
18
|
[tool.poetry.dependencies]
|
|
19
19
|
python = "^3.10,<3.14"
|
|
20
|
-
airbyte-cdk = "^7.
|
|
20
|
+
airbyte-cdk = "^7.12.0"
|
|
21
21
|
sgqlc = "==16.3"
|
|
22
22
|
|
|
23
23
|
[tool.poetry.scripts]
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/errors_handlers.py
RENAMED
|
@@ -21,9 +21,9 @@ GITHUB_DEFAULT_ERROR_MAPPING = DEFAULT_ERROR_MAPPING | {
|
|
|
21
21
|
error_message="Conflict.",
|
|
22
22
|
),
|
|
23
23
|
403: ErrorResolution(
|
|
24
|
-
response_action=ResponseAction.
|
|
24
|
+
response_action=ResponseAction.FAIL,
|
|
25
25
|
failure_type=FailureType.config_error,
|
|
26
|
-
error_message="
|
|
26
|
+
error_message="Access denied due to insufficient permissions.",
|
|
27
27
|
),
|
|
28
28
|
404: ErrorResolution(
|
|
29
29
|
response_action=ResponseAction.RETRY,
|
|
@@ -106,7 +106,7 @@ class GithubStreamABCErrorHandler(HttpStatusErrorHandler):
|
|
|
106
106
|
return super().interpret_response(response_or_exception)
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
class ContributorActivityErrorHandler(
|
|
109
|
+
class ContributorActivityErrorHandler(GithubStreamABCErrorHandler):
|
|
110
110
|
"""
|
|
111
111
|
This custom error handler is needed for streams based on repository statistics endpoints like ContributorActivity because
|
|
112
112
|
when requesting data that hasn't been cached yet when the request is made, you'll receive a 202 response. And these requests
|
|
@@ -1788,7 +1788,7 @@ class ContributorActivity(GithubStream):
|
|
|
1788
1788
|
return record
|
|
1789
1789
|
|
|
1790
1790
|
def get_error_handler(self) -> Optional[ErrorHandler]:
|
|
1791
|
-
return ContributorActivityErrorHandler(logger=self.logger, max_retries=5, error_mapping=GITHUB_DEFAULT_ERROR_MAPPING)
|
|
1791
|
+
return ContributorActivityErrorHandler(stream=self, logger=self.logger, max_retries=5, error_mapping=GITHUB_DEFAULT_ERROR_MAPPING)
|
|
1792
1792
|
|
|
1793
1793
|
def get_backoff_strategy(self) -> Optional[Union[BackoffStrategy, List[BackoffStrategy]]]:
|
|
1794
1794
|
return ContributorActivityBackoffStrategy()
|
|
File without changes
|
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/backoff_strategies.py
RENAMED
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/config_migrations.py
RENAMED
|
File without changes
|
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/github_schema.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/assignees.json
RENAMED
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/branches.json
RENAMED
|
File without changes
|
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/comments.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/commits.json
RENAMED
|
File without changes
|
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/deployments.json
RENAMED
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/events.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/issues.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/projects.json
RENAMED
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/projects_v2.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/releases.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/reviews.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/shared/user.json
RENAMED
|
File without changes
|
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/stargazers.json
RENAMED
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/tags.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/teams.json
RENAMED
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/users.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airbyte_source_github-2.1.18 → airbyte_source_github-2.1.20}/source_github/schemas/workflows.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|