airbyte-source-github 1.9.0rc2__py3-none-any.whl → 1.9.0rc3__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.
Potentially problematic release.
This version of airbyte-source-github might be problematic. Click here for more details.
- {airbyte_source_github-1.9.0rc2.dist-info → airbyte_source_github-1.9.0rc3.dist-info}/METADATA +1 -1
- {airbyte_source_github-1.9.0rc2.dist-info → airbyte_source_github-1.9.0rc3.dist-info}/RECORD +5 -5
- source_github/utils.py +1 -1
- {airbyte_source_github-1.9.0rc2.dist-info → airbyte_source_github-1.9.0rc3.dist-info}/WHEEL +0 -0
- {airbyte_source_github-1.9.0rc2.dist-info → airbyte_source_github-1.9.0rc3.dist-info}/entry_points.txt +0 -0
{airbyte_source_github-1.9.0rc2.dist-info → airbyte_source_github-1.9.0rc3.dist-info}/RECORD
RENAMED
|
@@ -57,8 +57,8 @@ source_github/schemas/workflows.json,sha256=gSNw8WZaVKbX4AL97PbjZHzvxcOltXqv9Ao1
|
|
|
57
57
|
source_github/source.py,sha256=1o8eayigi4xSUeNHdCd-mhNswGUq_XQrVk2eihTjm1o,14246
|
|
58
58
|
source_github/spec.json,sha256=7LOQm01fP_RvPF-HifhNPJ7i0AxT2LTNPaLAA3uOfNY,7443
|
|
59
59
|
source_github/streams.py,sha256=uvCHATVyObHCz76tuknNqPETuGlyUdXGsa1YZc7B4JI,78285
|
|
60
|
-
source_github/utils.py,sha256=
|
|
61
|
-
airbyte_source_github-1.9.
|
|
62
|
-
airbyte_source_github-1.9.
|
|
63
|
-
airbyte_source_github-1.9.
|
|
64
|
-
airbyte_source_github-1.9.
|
|
60
|
+
source_github/utils.py,sha256=ZVui5WgHL_ERYlgA5jk6OASjMs-woMuBOvGfupbE-Ys,5594
|
|
61
|
+
airbyte_source_github-1.9.0rc3.dist-info/METADATA,sha256=iRdS4DBb_u_bQ9UL_uUrxb2zBRg7mlRlc4RxMJIl1Tg,5191
|
|
62
|
+
airbyte_source_github-1.9.0rc3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
63
|
+
airbyte_source_github-1.9.0rc3.dist-info/entry_points.txt,sha256=gYhqVrTAZvMwuYByg0b_-o115yUFLLcfNxMrLZmiW9k,55
|
|
64
|
+
airbyte_source_github-1.9.0rc3.dist-info/RECORD,,
|
source_github/utils.py
CHANGED
|
@@ -144,7 +144,7 @@ class MultipleTokenAuthenticatorWithRateLimiter(AbstractHeaderAuthenticator):
|
|
|
144
144
|
setattr(current_token, count_attr, getattr(current_token, count_attr) - 1)
|
|
145
145
|
return True
|
|
146
146
|
elif all(getattr(x, count_attr) == 0 for x in self._tokens.values()):
|
|
147
|
-
min_time_to_wait = min((getattr(x, reset_attr) - ab_datetime_now()).
|
|
147
|
+
min_time_to_wait = min((getattr(x, reset_attr) - ab_datetime_now()).total_seconds() for x in self._tokens.values())
|
|
148
148
|
if min_time_to_wait < self.max_time:
|
|
149
149
|
time.sleep(min_time_to_wait if min_time_to_wait > 0 else 0)
|
|
150
150
|
self.check_all_tokens()
|
|
File without changes
|
|
File without changes
|