airbyte-source-github 1.9.2__py3-none-any.whl → 2.1.0__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.2.dist-info → airbyte_source_github-2.1.0.dist-info}/METADATA +5 -3
- {airbyte_source_github-1.9.2.dist-info → airbyte_source_github-2.1.0.dist-info}/RECORD +10 -10
- source_github/__init__.py +1 -0
- source_github/schemas/shared/events/comment.json +2 -2
- source_github/schemas/shared/events/commented.json +2 -2
- source_github/schemas/shared/events/cross_referenced.json +4 -4
- source_github/schemas/shared/reactions.json +2 -2
- source_github/streams.py +9 -1
- {airbyte_source_github-1.9.2.dist-info → airbyte_source_github-2.1.0.dist-info}/WHEEL +0 -0
- {airbyte_source_github-1.9.2.dist-info → airbyte_source_github-2.1.0.dist-info}/entry_points.txt +0 -0
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: airbyte-source-github
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: Source implementation for GitHub.
|
|
5
5
|
Home-page: https://airbyte.com
|
|
6
6
|
License: ELv2
|
|
7
7
|
Author: Airbyte
|
|
8
8
|
Author-email: contact@airbyte.io
|
|
9
|
-
Requires-Python: >=3.10,<3.
|
|
9
|
+
Requires-Python: >=3.10,<3.14
|
|
10
10
|
Classifier: License :: Other/Proprietary License
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
-
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Requires-Dist: airbyte-cdk (>=7.4.1,<8.0.0)
|
|
15
17
|
Requires-Dist: sgqlc (==16.3)
|
|
16
18
|
Project-URL: Documentation, https://docs.airbyte.com/integrations/sources/github
|
|
17
19
|
Project-URL: Repository, https://github.com/airbytehq/airbyte
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
source_github/__init__.py,sha256=
|
|
1
|
+
source_github/__init__.py,sha256=8hLLjFC1wI1mMU442Y5qCcND9qIwyhaANQwT-GAIK0s,1135
|
|
2
2
|
source_github/backoff_strategies.py,sha256=ChkWEmqZL7Qrr1zidOfjZWlMWIVRVO2yqZ7QE_HaZP8,2287
|
|
3
3
|
source_github/config_migrations.py,sha256=guUJAdNP-liUciVaJB4ackEEMCN4jd7bNd85QFmDNlU,3932
|
|
4
4
|
source_github/constants.py,sha256=Hj3Q4y7OoU-Iff4m9gEC2CjwmWJYXhNbHVNjg8EBLmQ,238
|
|
@@ -36,13 +36,13 @@ source_github/schemas/releases.json,sha256=MnoP0oSioKLmXvo6JyuqCoesIOFhtcRli7j6u
|
|
|
36
36
|
source_github/schemas/repositories.json,sha256=WpC5ZjoycnHUP5DNz8ImEXROYAel8DGRkBN10W1mQ2w,13319
|
|
37
37
|
source_github/schemas/review_comments.json,sha256=HVH3OE-x_wYVvg0Qxn6rzXOwAGEk0y3De8_VLCgE3mA,4905
|
|
38
38
|
source_github/schemas/reviews.json,sha256=OPqo9Dz6slRGojamq8pBMKKRZgz96kDRkYiUJjJQH_E,2731
|
|
39
|
-
source_github/schemas/shared/events/comment.json,sha256=
|
|
40
|
-
source_github/schemas/shared/events/commented.json,sha256=
|
|
39
|
+
source_github/schemas/shared/events/comment.json,sha256=6dcatpi1gitgcR_JscPllyGGoSb8Pgce5OS9vh1HKP4,7400
|
|
40
|
+
source_github/schemas/shared/events/commented.json,sha256=3NSVfCdaLHloZ6JSev47B0VORqEF7aRz6QmLv-ylls0,4210
|
|
41
41
|
source_github/schemas/shared/events/committed.json,sha256=3JBZKGgZ3zAjrOwfTDNexmmQKDvlx_TWQTBcxtBSAPY,1443
|
|
42
|
-
source_github/schemas/shared/events/cross_referenced.json,sha256=
|
|
42
|
+
source_github/schemas/shared/events/cross_referenced.json,sha256=OIO30YZxIO4INDMBbJUmJOQkK2yRc3PqJULU-w9MnR4,36940
|
|
43
43
|
source_github/schemas/shared/events/reviewed.json,sha256=DSsE2RDjoqWtn9ZZKj0w5DPSB5WM5jV6TdxhCsSyI6w,2764
|
|
44
44
|
source_github/schemas/shared/reaction.json,sha256=CqZDoD0tp1dqv_kCYD7RCxGABcZzrHmv7Dx4I9zcJTU,449
|
|
45
|
-
source_github/schemas/shared/reactions.json,sha256=
|
|
45
|
+
source_github/schemas/shared/reactions.json,sha256=0WHitNNCAqUaX1YPQmSatWmt3LADU3QYJuPo25KOdXs,629
|
|
46
46
|
source_github/schemas/shared/user.json,sha256=IkeVSNG_2qsRMV2TorrzCIKxZjNXYjG6WVyXcKQ14es,1135
|
|
47
47
|
source_github/schemas/shared/user_graphql.json,sha256=gdTR-fzvWK8403eJYDlOt-7uWqtDvYQDlafOAiiw0PM,453
|
|
48
48
|
source_github/schemas/stargazers.json,sha256=ksTLyWxv9p1Zz-h1CsdyJIGil3_9xwzuRMAOpAjzJqw,630
|
|
@@ -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=rY85d7X_StM0_GYIRYwnvoGQcsbNA_ZtdRnNJdh9-lk,14588
|
|
58
58
|
source_github/spec.json,sha256=7LOQm01fP_RvPF-HifhNPJ7i0AxT2LTNPaLAA3uOfNY,7443
|
|
59
|
-
source_github/streams.py,sha256=
|
|
59
|
+
source_github/streams.py,sha256=Y-4aThMwJWfInzntUCLvdk8JbspE0kBz6jLp94z81vM,78574
|
|
60
60
|
source_github/utils.py,sha256=1mKZzLEaDe0m8BTw8Y-MxCXrJr1bZfaLPeSUbPN3vyQ,7243
|
|
61
|
-
airbyte_source_github-1.
|
|
62
|
-
airbyte_source_github-1.
|
|
63
|
-
airbyte_source_github-1.
|
|
64
|
-
airbyte_source_github-1.
|
|
61
|
+
airbyte_source_github-2.1.0.dist-info/METADATA,sha256=yM5ZRFKHBFtM5Yks7oSCTyubima-TE8URXBUD23pOH8,5298
|
|
62
|
+
airbyte_source_github-2.1.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
63
|
+
airbyte_source_github-2.1.0.dist-info/entry_points.txt,sha256=gYhqVrTAZvMwuYByg0b_-o115yUFLLcfNxMrLZmiW9k,55
|
|
64
|
+
airbyte_source_github-2.1.0.dist-info/RECORD,,
|
source_github/__init__.py
CHANGED
|
@@ -174,8 +174,8 @@
|
|
|
174
174
|
"properties": {
|
|
175
175
|
"url": { "type": "string" },
|
|
176
176
|
"total_count": { "type": "integer" },
|
|
177
|
-
"
|
|
178
|
-
"
|
|
177
|
+
"plus_one": { "type": "integer" },
|
|
178
|
+
"minus_one": { "type": "integer" },
|
|
179
179
|
"laugh": { "type": "integer" },
|
|
180
180
|
"confused": { "type": "integer" },
|
|
181
181
|
"heart": { "type": "integer" },
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
"properties": {
|
|
100
100
|
"url": { "type": "string" },
|
|
101
101
|
"total_count": { "type": "integer" },
|
|
102
|
-
"
|
|
103
|
-
"
|
|
102
|
+
"plus_one": { "type": "integer" },
|
|
103
|
+
"minus_one": { "type": "integer" },
|
|
104
104
|
"laugh": { "type": "integer" },
|
|
105
105
|
"confused": { "type": "integer" },
|
|
106
106
|
"heart": { "type": "integer" },
|
|
@@ -752,10 +752,10 @@
|
|
|
752
752
|
"total_count": {
|
|
753
753
|
"type": "integer"
|
|
754
754
|
},
|
|
755
|
-
"
|
|
755
|
+
"plus_one": {
|
|
756
756
|
"type": "integer"
|
|
757
757
|
},
|
|
758
|
-
"
|
|
758
|
+
"minus_one": {
|
|
759
759
|
"type": "integer"
|
|
760
760
|
},
|
|
761
761
|
"laugh": {
|
|
@@ -788,10 +788,10 @@
|
|
|
788
788
|
"total_count": {
|
|
789
789
|
"type": "integer"
|
|
790
790
|
},
|
|
791
|
-
"
|
|
791
|
+
"plus_one": {
|
|
792
792
|
"type": "integer"
|
|
793
793
|
},
|
|
794
|
-
"
|
|
794
|
+
"minus_one": {
|
|
795
795
|
"type": "integer"
|
|
796
796
|
},
|
|
797
797
|
"laugh": {
|
source_github/streams.py
CHANGED
|
@@ -221,6 +221,14 @@ class GithubStream(GithubStreamABC):
|
|
|
221
221
|
|
|
222
222
|
def transform(self, record: MutableMapping[str, Any], stream_slice: Mapping[str, Any]) -> MutableMapping[str, Any]:
|
|
223
223
|
record["repository"] = stream_slice["repository"]
|
|
224
|
+
|
|
225
|
+
if "reactions" in record and record["reactions"]:
|
|
226
|
+
reactions = record["reactions"]
|
|
227
|
+
if "+1" in reactions:
|
|
228
|
+
reactions["plus_one"] = reactions.pop("+1")
|
|
229
|
+
if "-1" in reactions:
|
|
230
|
+
reactions["minus_one"] = reactions.pop("-1")
|
|
231
|
+
|
|
224
232
|
return record
|
|
225
233
|
|
|
226
234
|
def parse_response(
|
|
@@ -1677,7 +1685,7 @@ class ContributorActivity(GithubStream):
|
|
|
1677
1685
|
type=MessageType.LOG,
|
|
1678
1686
|
log=AirbyteLogMessage(
|
|
1679
1687
|
level=Level.INFO,
|
|
1680
|
-
message=f"Syncing `{self.__class__.__name__}`
|
|
1688
|
+
message=f"Syncing `{self.__class__.__name__}` stream isn't available for repository `{repository}`.",
|
|
1681
1689
|
),
|
|
1682
1690
|
)
|
|
1683
1691
|
|
|
File without changes
|
{airbyte_source_github-1.9.2.dist-info → airbyte_source_github-2.1.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|