airbyte-source-github 1.8.29.dev202506231532__py3-none-any.whl → 1.8.31__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.
- {airbyte_source_github-1.8.29.dev202506231532.dist-info → airbyte_source_github-1.8.31.dist-info}/METADATA +1 -1
- {airbyte_source_github-1.8.29.dev202506231532.dist-info → airbyte_source_github-1.8.31.dist-info}/RECORD +6 -6
- source_github/errors_handlers.py +2 -1
- source_github/streams.py +4 -1
- {airbyte_source_github-1.8.29.dev202506231532.dist-info → airbyte_source_github-1.8.31.dist-info}/WHEEL +0 -0
- {airbyte_source_github-1.8.29.dev202506231532.dist-info → airbyte_source_github-1.8.31.dist-info}/entry_points.txt +0 -0
@@ -2,7 +2,7 @@ source_github/__init__.py,sha256=punPc3v0mXEYOun7cbkfM5KUhgjv72B9DgDhI4VtzcQ,113
|
|
2
2
|
source_github/backoff_strategies.py,sha256=ChkWEmqZL7Qrr1zidOfjZWlMWIVRVO2yqZ7QE_HaZP8,2287
|
3
3
|
source_github/config_migrations.py,sha256=H58hHqAnuvb0B8IXHW4aEDZ3HotEg7HdA2rXDG9XW7A,3832
|
4
4
|
source_github/constants.py,sha256=Hj3Q4y7OoU-Iff4m9gEC2CjwmWJYXhNbHVNjg8EBLmQ,238
|
5
|
-
source_github/errors_handlers.py,sha256=
|
5
|
+
source_github/errors_handlers.py,sha256=POqpvbrNAoZztjwByOJxJbIaxhWC8KWLi3gK1WzbiK8,7259
|
6
6
|
source_github/github_schema.py,sha256=2AXmTN_s_VqvZAR1GPqus5HhSXWokS4N7HMQQqefaYw,1600315
|
7
7
|
source_github/graphql.py,sha256=edd7EoXwD5rRDHrjm4ZBy5VGkruTScL_Xipy4CBmTFc,11625
|
8
8
|
source_github/run.py,sha256=onA-rP2aVhWHvDquKZdR1381CU66rnzqJ7EFMS5dd4Q,407
|
@@ -56,9 +56,9 @@ source_github/schemas/workflow_runs.json,sha256=XDmIsjtzka-ItEonImD3ZATZjxRNkbFo
|
|
56
56
|
source_github/schemas/workflows.json,sha256=gSNw8WZaVKbX4AL97PbjZHzvxcOltXqv9Ao1RNQOFXM,1470
|
57
57
|
source_github/source.py,sha256=1o8eayigi4xSUeNHdCd-mhNswGUq_XQrVk2eihTjm1o,14246
|
58
58
|
source_github/spec.json,sha256=7LOQm01fP_RvPF-HifhNPJ7i0AxT2LTNPaLAA3uOfNY,7443
|
59
|
-
source_github/streams.py,sha256=
|
59
|
+
source_github/streams.py,sha256=h5YMPLIsLTv7WX_mcURVC2LmmWBLraZvKH8J_GzV1IE,77441
|
60
60
|
source_github/utils.py,sha256=Ztd8VWwzTNUg_A96_8R9XSKorIcBa8wJ6aYUqygRkyk,5492
|
61
|
-
airbyte_source_github-1.8.
|
62
|
-
airbyte_source_github-1.8.
|
63
|
-
airbyte_source_github-1.8.
|
64
|
-
airbyte_source_github-1.8.
|
61
|
+
airbyte_source_github-1.8.31.dist-info/METADATA,sha256=tqe5tC44NCOUFklWhoZWV3y1t9GB7A3kvGf5M8bKBVc,5202
|
62
|
+
airbyte_source_github-1.8.31.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
63
|
+
airbyte_source_github-1.8.31.dist-info/entry_points.txt,sha256=gYhqVrTAZvMwuYByg0b_-o115yUFLLcfNxMrLZmiW9k,55
|
64
|
+
airbyte_source_github-1.8.31.dist-info/RECORD,,
|
source_github/errors_handlers.py
CHANGED
@@ -96,10 +96,11 @@ class GithubStreamABCErrorHandler(HttpStatusErrorHandler):
|
|
96
96
|
)
|
97
97
|
|
98
98
|
if is_conflict_with_empty_repository(response_or_exception=response_or_exception):
|
99
|
+
log_message = f"Ignoring response for '{response_or_exception.request.method}' request to '{response_or_exception.url}' with response code '{response_or_exception.status_code}' as the repository is empty."
|
99
100
|
return ErrorResolution(
|
100
101
|
response_action=ResponseAction.IGNORE,
|
101
102
|
failure_type=FailureType.config_error,
|
102
|
-
error_message=
|
103
|
+
error_message=log_message,
|
103
104
|
)
|
104
105
|
|
105
106
|
return super().interpret_response(response_or_exception)
|
source_github/streams.py
CHANGED
@@ -1633,7 +1633,10 @@ class ContributorActivity(GithubStream):
|
|
1633
1633
|
|
1634
1634
|
def transform(self, record: MutableMapping[str, Any], stream_slice: Mapping[str, Any]) -> MutableMapping[str, Any]:
|
1635
1635
|
record["repository"] = stream_slice["repository"]
|
1636
|
-
record.
|
1636
|
+
author = record.pop("author", None)
|
1637
|
+
# It's been found that the author field can be None, so we check for it
|
1638
|
+
if author:
|
1639
|
+
record.update(author)
|
1637
1640
|
return record
|
1638
1641
|
|
1639
1642
|
def get_error_handler(self) -> Optional[ErrorHandler]:
|
File without changes
|
File without changes
|