airbyte-source-github 1.6.4__py3-none-any.whl → 1.6.5__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.6.4.dist-info → airbyte_source_github-1.6.5.dist-info}/METADATA +1 -1
- {airbyte_source_github-1.6.4.dist-info → airbyte_source_github-1.6.5.dist-info}/RECORD +5 -5
- source_github/streams.py +6 -2
- {airbyte_source_github-1.6.4.dist-info → airbyte_source_github-1.6.5.dist-info}/WHEEL +0 -0
- {airbyte_source_github-1.6.4.dist-info → airbyte_source_github-1.6.5.dist-info}/entry_points.txt +0 -0
@@ -54,9 +54,9 @@ source_github/schemas/workflow_runs.json,sha256=JWK1p1HQI2dDnutF4rd7gPG7Nx1_RJL2
|
|
54
54
|
source_github/schemas/workflows.json,sha256=zvtOslS-veNo5_iXmMxMNlY8OOt8DdvTZ3hjtdJbdvY,753
|
55
55
|
source_github/source.py,sha256=MSAwf6DCNMhu6Pu6ADPR7EfOIYYDnYf8bnx1LHG6LY4,15612
|
56
56
|
source_github/spec.json,sha256=_L8sFYPPMeUTRqXOza0IISyR3c2E5u4aHThKMQA2r4s,7096
|
57
|
-
source_github/streams.py,sha256=
|
57
|
+
source_github/streams.py,sha256=M-N-JOmz5AixLvu2aAmrkG5yhg20ShdbvPl-sngu3kM,75191
|
58
58
|
source_github/utils.py,sha256=DfAHFjsF8hzDXeSCR6qtfs7W_av6o2BkkEVhtHpWbis,5462
|
59
|
-
airbyte_source_github-1.6.
|
60
|
-
airbyte_source_github-1.6.
|
61
|
-
airbyte_source_github-1.6.
|
62
|
-
airbyte_source_github-1.6.
|
59
|
+
airbyte_source_github-1.6.5.dist-info/METADATA,sha256=C0YFkcxJsHgkOFvsd5f02D4ta4DHZyldNA1YI673MWw,5238
|
60
|
+
airbyte_source_github-1.6.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
61
|
+
airbyte_source_github-1.6.5.dist-info/entry_points.txt,sha256=gYhqVrTAZvMwuYByg0b_-o115yUFLLcfNxMrLZmiW9k,55
|
62
|
+
airbyte_source_github-1.6.5.dist-info/RECORD,,
|
source_github/streams.py
CHANGED
@@ -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
|
-
|
220
|
-
|
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):
|
File without changes
|
{airbyte_source_github-1.6.4.dist-info → airbyte_source_github-1.6.5.dist-info}/entry_points.txt
RENAMED
File without changes
|