airbyte-source-github 1.6.0__py3-none-any.whl → 1.6.1__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.
Files changed (32) hide show
  1. airbyte_source_github-1.6.1.dist-info/METADATA +111 -0
  2. {airbyte_source_github-1.6.0.dist-info → airbyte_source_github-1.6.1.dist-info}/RECORD +17 -43
  3. {airbyte_source_github-1.6.0.dist-info → airbyte_source_github-1.6.1.dist-info}/WHEEL +1 -2
  4. airbyte_source_github-1.6.1.dist-info/entry_points.txt +3 -0
  5. airbyte_source_github-1.6.0.dist-info/METADATA +0 -144
  6. airbyte_source_github-1.6.0.dist-info/entry_points.txt +0 -2
  7. airbyte_source_github-1.6.0.dist-info/top_level.txt +0 -3
  8. integration_tests/__init__.py +0 -0
  9. integration_tests/abnormal_state.json +0 -237
  10. integration_tests/acceptance.py +0 -16
  11. integration_tests/configured_catalog.json +0 -435
  12. integration_tests/configured_catalog_full_refresh_test.json +0 -415
  13. integration_tests/invalid_config.json +0 -5
  14. integration_tests/sample_config.json +0 -5
  15. integration_tests/sample_state.json +0 -137
  16. unit_tests/__init__.py +0 -3
  17. unit_tests/conftest.py +0 -29
  18. unit_tests/projects_v2_pull_requests_query.json +0 -3
  19. unit_tests/pull_request_stats_query.json +0 -3
  20. unit_tests/responses/contributor_activity_response.json +0 -33
  21. unit_tests/responses/graphql_reviews_responses.json +0 -405
  22. unit_tests/responses/issue_timeline_events.json +0 -166
  23. unit_tests/responses/issue_timeline_events_response.json +0 -170
  24. unit_tests/responses/projects_v2_response.json +0 -45
  25. unit_tests/responses/pull_request_comment_reactions.json +0 -744
  26. unit_tests/responses/pull_request_stats_response.json +0 -317
  27. unit_tests/test_migrations/test_config.json +0 -8
  28. unit_tests/test_migrations/test_new_config.json +0 -8
  29. unit_tests/test_multiple_token_authenticator.py +0 -163
  30. unit_tests/test_source.py +0 -331
  31. unit_tests/test_stream.py +0 -1471
  32. unit_tests/utils.py +0 -78
@@ -1,405 +0,0 @@
1
- [
2
- {
3
- "data": {
4
- "repository": {
5
- "owner": {
6
- "login": "airbytehq"
7
- },
8
- "name": "airbyte",
9
- "pullRequests": {
10
- "nodes": [
11
- {
12
- "number": 1,
13
- "url": "https://github.com/airbytehq/airbyte/pull/1",
14
- "reviews": {
15
- "nodes": [
16
- {
17
- "id": 1000,
18
- "updated_at": "2000-01-01T00:00:01Z",
19
- "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1000",
20
- "commit": null,
21
- "user": {
22
- "__typename": "User"
23
- }
24
- },
25
- {
26
- "id": 1001,
27
- "updated_at": "2000-01-01T00:00:01Z",
28
- "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1001",
29
- "commit": null,
30
- "user": {
31
- "__typename": "User"
32
- }
33
- }
34
- ],
35
- "pageInfo": {
36
- "endCursor": "cursor",
37
- "hasNextPage": true
38
- }
39
- }
40
- },
41
- {
42
- "number": 2,
43
- "url": "https://github.com/airbytehq/airbyte/pull/2",
44
- "reviews": {
45
- "nodes": [
46
- {
47
- "id": 1002,
48
- "updated_at": "2000-01-01T00:00:01Z",
49
- "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1002",
50
- "commit": null,
51
- "user": {
52
- "__typename": "User"
53
- }
54
- },
55
- {
56
- "id": 1003,
57
- "updated_at": "2000-01-01T00:00:01Z",
58
- "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1003",
59
- "commit": null,
60
- "user": {
61
- "__typename": "User"
62
- }
63
- }
64
- ],
65
- "pageInfo": {
66
- "endCursor": "cursor",
67
- "hasNextPage": true
68
- }
69
- }
70
- }
71
- ],
72
- "pageInfo": {
73
- "endCursor": "cursor",
74
- "hasNextPage": true
75
- }
76
- }
77
- }
78
- }
79
- },
80
- {
81
- "data": {
82
- "repository": {
83
- "owner": {
84
- "login": "airbytehq"
85
- },
86
- "name": "airbyte",
87
- "pullRequest": {
88
- "number": 1,
89
- "url": "https://github.com/airbytehq/airbyte/pull/1",
90
- "reviews": {
91
- "nodes": [
92
- {
93
- "id": 1004,
94
- "updated_at": "2000-01-01T00:00:01Z",
95
- "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1004",
96
- "commit": null,
97
- "user": {
98
- "__typename": "User"
99
- }
100
- },
101
- {
102
- "id": 1005,
103
- "updated_at": "2000-01-01T00:00:01Z",
104
- "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1005",
105
- "commit": null,
106
- "user": {
107
- "__typename": "User"
108
- }
109
- }
110
- ],
111
- "pageInfo": {
112
- "endCursor": null,
113
- "hasNextPage": false
114
- }
115
- }
116
- }
117
- }
118
- }
119
- },
120
- {
121
- "data": {
122
- "repository": {
123
- "owner": {
124
- "login": "airbytehq"
125
- },
126
- "name": "airbyte",
127
- "pullRequest": {
128
- "number": 2,
129
- "url": "https://github.com/airbytehq/airbyte/pull/2",
130
- "reviews": {
131
- "nodes": [
132
- {
133
- "id": 1006,
134
- "updated_at": "2000-01-01T00:00:01Z",
135
- "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1006",
136
- "commit": null,
137
- "user": {
138
- "__typename": "User"
139
- }
140
- },
141
- {
142
- "id": 1007,
143
- "updated_at": "2000-01-01T00:00:01Z",
144
- "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1007",
145
- "commit": null,
146
- "user": {
147
- "__typename": "User"
148
- }
149
- }
150
- ],
151
- "pageInfo": {
152
- "endCursor": null,
153
- "hasNextPage": false
154
- }
155
- }
156
- }
157
- }
158
- }
159
- },
160
- {
161
- "data": {
162
- "repository": {
163
- "owner": {
164
- "login": "airbytehq"
165
- },
166
- "name": "airbyte",
167
- "pullRequests": {
168
- "nodes": [
169
- {
170
- "number": 3,
171
- "url": "https://github.com/airbytehq/airbyte/pull/3",
172
- "reviews": {
173
- "nodes": [
174
- {
175
- "id": 1008,
176
- "updated_at": "2000-01-01T00:00:01Z",
177
- "html_url": "https://github.com/airbytehq/airbyte/pull/3#pullrequestreview-1008",
178
- "commit": null,
179
- "user": {
180
- "__typename": "User"
181
- }
182
- }
183
- ],
184
- "pageInfo": {
185
- "endCursor": null,
186
- "hasNextPage": false
187
- }
188
- }
189
- }
190
- ],
191
- "pageInfo": {
192
- "endCursor": null,
193
- "hasNextPage": false
194
- }
195
- }
196
- }
197
- }
198
- },
199
- {
200
- "data": {
201
- "repository": {
202
- "owner": {
203
- "login": "airbytehq"
204
- },
205
- "name": "airbyte",
206
- "pullRequests": {
207
- "nodes": [
208
- {
209
- "number": 1,
210
- "url": "https://github.com/airbytehq/airbyte/pull/1",
211
- "reviews": {
212
- "nodes": [
213
- {
214
- "id": 1000,
215
- "updated_at": "2000-01-01T00:00:02Z",
216
- "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1000",
217
- "commit": null,
218
- "user": {
219
- "__typename": "User"
220
- }
221
- },
222
- {
223
- "id": 1001,
224
- "updated_at": "2000-01-01T00:00:01Z",
225
- "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1001",
226
- "commit": null,
227
- "user": {
228
- "__typename": "User"
229
- }
230
- }
231
- ],
232
- "pageInfo": {
233
- "endCursor": "cursor",
234
- "hasNextPage": true
235
- }
236
- }
237
- },
238
- {
239
- "number": 2,
240
- "url": "https://github.com/airbytehq/airbyte/pull/2",
241
- "reviews": {
242
- "nodes": [
243
- {
244
- "id": 1002,
245
- "updated_at": "2000-01-01T00:00:01Z",
246
- "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1002",
247
- "commit": null,
248
- "user": {
249
- "__typename": "User"
250
- }
251
- },
252
- {
253
- "id": 1003,
254
- "updated_at": "2000-01-01T00:00:01Z",
255
- "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1003",
256
- "commit": null,
257
- "user": {
258
- "__typename": "User"
259
- }
260
- }
261
- ],
262
- "pageInfo": {
263
- "endCursor": "cursor",
264
- "hasNextPage": true
265
- }
266
- }
267
- }
268
- ],
269
- "pageInfo": {
270
- "endCursor": "cursor",
271
- "hasNextPage": true
272
- }
273
- }
274
- }
275
- }
276
- },
277
- {
278
- "data": {
279
- "repository": {
280
- "owner": {
281
- "login": "airbytehq"
282
- },
283
- "name": "airbyte",
284
- "pullRequest": {
285
- "number": 1,
286
- "url": "https://github.com/airbytehq/airbyte/pull/1",
287
- "reviews": {
288
- "nodes": [
289
- {
290
- "id": 1004,
291
- "updated_at": "2000-01-01T00:00:01Z",
292
- "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1004",
293
- "commit": null,
294
- "user": {
295
- "__typename": "User"
296
- }
297
- },
298
- {
299
- "id": 1005,
300
- "updated_at": "2000-01-01T00:00:01Z",
301
- "html_url": "https://github.com/airbytehq/airbyte/pull/1#pullrequestreview-1005",
302
- "commit": null,
303
- "user": {
304
- "__typename": "User"
305
- }
306
- }
307
- ],
308
- "pageInfo": {
309
- "endCursor": null,
310
- "hasNextPage": false
311
- }
312
- }
313
- }
314
- }
315
- }
316
- },
317
- {
318
- "data": {
319
- "repository": {
320
- "owner": {
321
- "login": "airbytehq"
322
- },
323
- "name": "airbyte",
324
- "pullRequest": {
325
- "number": 2,
326
- "url": "https://github.com/airbytehq/airbyte/pull/2",
327
- "reviews": {
328
- "nodes": [
329
- {
330
- "id": 1006,
331
- "updated_at": "2000-01-01T00:00:01Z",
332
- "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1006",
333
- "commit": null,
334
- "user": {
335
- "__typename": "User"
336
- }
337
- },
338
- {
339
- "id": 1007,
340
- "updated_at": "2000-01-01T00:00:02Z",
341
- "html_url": "https://github.com/airbytehq/airbyte/pull/2#pullrequestreview-1007",
342
- "commit": null,
343
- "user": {
344
- "__typename": "User"
345
- }
346
- }
347
- ],
348
- "pageInfo": {
349
- "endCursor": null,
350
- "hasNextPage": false
351
- }
352
- }
353
- }
354
- }
355
- }
356
- },
357
- {
358
- "data": {
359
- "repository": {
360
- "owner": {
361
- "login": "airbytehq"
362
- },
363
- "name": "airbyte",
364
- "pullRequests": {
365
- "nodes": [
366
- {
367
- "number": 3,
368
- "url": "https://github.com/airbytehq/airbyte/pull/3",
369
- "reviews": {
370
- "nodes": [
371
- {
372
- "id": 1008,
373
- "updated_at": "2000-01-01T00:00:01Z",
374
- "html_url": "https://github.com/airbytehq/airbyte/pull/3#pullrequestreview-1008",
375
- "commit": null,
376
- "user": {
377
- "__typename": "User"
378
- }
379
- },
380
- {
381
- "id": 1009,
382
- "updated_at": "2000-01-01T00:00:02Z",
383
- "html_url": "https://github.com/airbytehq/airbyte/pull/3#pullrequestreview-1009",
384
- "commit": null,
385
- "user": {
386
- "__typename": "User"
387
- }
388
- }
389
- ],
390
- "pageInfo": {
391
- "endCursor": null,
392
- "hasNextPage": false
393
- }
394
- }
395
- }
396
- ],
397
- "pageInfo": {
398
- "endCursor": null,
399
- "hasNextPage": false
400
- }
401
- }
402
- }
403
- }
404
- }
405
- ]
@@ -1,166 +0,0 @@
1
- [
2
- {
3
- "id": 6430295168,
4
- "node_id": "LOE_lADODwFebM5HwC0kzwAAAAF_RoSA",
5
- "url": "https://api.github.com/repos/github/roadmap/issues/events/6430295168",
6
- "actor": {
7
- "login": "github",
8
- "id": 9919,
9
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
10
- "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
11
- "gravatar_id": "",
12
- "url": "https://api.github.com/users/github",
13
- "html_url": "https://github.com/github",
14
- "followers_url": "https://api.github.com/users/github/followers",
15
- "following_url": "https://api.github.com/users/github/following{/other_user}",
16
- "gists_url": "https://api.github.com/users/github/gists{/gist_id}",
17
- "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
18
- "subscriptions_url": "https://api.github.com/users/github/subscriptions",
19
- "organizations_url": "https://api.github.com/users/github/orgs",
20
- "repos_url": "https://api.github.com/users/github/repos",
21
- "events_url": "https://api.github.com/users/github/events{/privacy}",
22
- "received_events_url": "https://api.github.com/users/github/received_events",
23
- "type": "Organization",
24
- "site_admin": false
25
- },
26
- "event": "locked",
27
- "commit_id": null,
28
- "commit_url": null,
29
- "created_at": "2022-04-13T20:49:13Z",
30
- "lock_reason": null,
31
- "performed_via_github_app": null
32
- },
33
- {
34
- "id": 6430296748,
35
- "node_id": "LE_lADODwFebM5HwC0kzwAAAAF_Roqs",
36
- "url": "https://api.github.com/repos/github/roadmap/issues/events/6430296748",
37
- "actor": {
38
- "login": "github-product-roadmap",
39
- "id": 67656570,
40
- "node_id": "MDQ6VXNlcjY3NjU2NTcw",
41
- "avatar_url": "https://avatars.githubusercontent.com/u/67656570?v=4",
42
- "gravatar_id": "",
43
- "url": "https://api.github.com/users/github-product-roadmap",
44
- "html_url": "https://github.com/github-product-roadmap",
45
- "followers_url": "https://api.github.com/users/github-product-roadmap/followers",
46
- "following_url": "https://api.github.com/users/github-product-roadmap/following{/other_user}",
47
- "gists_url": "https://api.github.com/users/github-product-roadmap/gists{/gist_id}",
48
- "starred_url": "https://api.github.com/users/github-product-roadmap/starred{/owner}{/repo}",
49
- "subscriptions_url": "https://api.github.com/users/github-product-roadmap/subscriptions",
50
- "organizations_url": "https://api.github.com/users/github-product-roadmap/orgs",
51
- "repos_url": "https://api.github.com/users/github-product-roadmap/repos",
52
- "events_url": "https://api.github.com/users/github-product-roadmap/events{/privacy}",
53
- "received_events_url": "https://api.github.com/users/github-product-roadmap/received_events",
54
- "type": "User",
55
- "site_admin": false
56
- },
57
- "event": "labeled",
58
- "commit_id": null,
59
- "commit_url": null,
60
- "created_at": "2022-04-13T20:49:34Z",
61
- "label": {
62
- "name": "beta",
63
- "color": "99dd88"
64
- },
65
- "performed_via_github_app": null
66
- },
67
- {
68
- "id": 6635165802,
69
- "node_id": "RTE_lADODwFebM5HwC0kzwAAAAGLfJhq",
70
- "url": "https://api.github.com/repos/github/roadmap/issues/events/6635165802",
71
- "actor": {
72
- "login": "github-product-roadmap",
73
- "id": 67656570,
74
- "node_id": "MDQ6VXNlcjY3NjU2NTcw",
75
- "avatar_url": "https://avatars.githubusercontent.com/u/67656570?v=4",
76
- "gravatar_id": "",
77
- "url": "https://api.github.com/users/github-product-roadmap",
78
- "html_url": "https://github.com/github-product-roadmap",
79
- "followers_url": "https://api.github.com/users/github-product-roadmap/followers",
80
- "following_url": "https://api.github.com/users/github-product-roadmap/following{/other_user}",
81
- "gists_url": "https://api.github.com/users/github-product-roadmap/gists{/gist_id}",
82
- "starred_url": "https://api.github.com/users/github-product-roadmap/starred{/owner}{/repo}",
83
- "subscriptions_url": "https://api.github.com/users/github-product-roadmap/subscriptions",
84
- "organizations_url": "https://api.github.com/users/github-product-roadmap/orgs",
85
- "repos_url": "https://api.github.com/users/github-product-roadmap/repos",
86
- "events_url": "https://api.github.com/users/github-product-roadmap/events{/privacy}",
87
- "received_events_url": "https://api.github.com/users/github-product-roadmap/received_events",
88
- "type": "User",
89
- "site_admin": false
90
- },
91
- "event": "renamed",
92
- "commit_id": null,
93
- "commit_url": null,
94
- "created_at": "2022-05-18T19:29:01Z",
95
- "rename": {
96
- "from": "Secret scanning: dry-runs for enterprise-level custom patterns (cloud)",
97
- "to": "Secret scanning: dry-runs for enterprise-level custom patterns"
98
- },
99
- "performed_via_github_app": null
100
- },
101
- {
102
- "url": "https://api.github.com/repos/github/roadmap/issues/comments/1130876857",
103
- "html_url": "https://github.com/github/roadmap/issues/493#issuecomment-1130876857",
104
- "issue_url": "https://api.github.com/repos/github/roadmap/issues/493",
105
- "id": 1130876857,
106
- "node_id": "IC_kwDODwFebM5DZ8-5",
107
- "user": {
108
- "login": "octocat",
109
- "id": 94867353,
110
- "node_id": "U_kgDOBaePmQ",
111
- "avatar_url": "https://avatars.githubusercontent.com/u/94867353?v=4",
112
- "gravatar_id": "",
113
- "url": "https://api.github.com/users/octocat",
114
- "html_url": "https://github.com/octocat",
115
- "followers_url": "https://api.github.com/users/octocat/followers",
116
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
117
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
118
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
119
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
120
- "organizations_url": "https://api.github.com/users/octocat/orgs",
121
- "repos_url": "https://api.github.com/users/octocat/repos",
122
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
123
- "received_events_url": "https://api.github.com/users/octocat/received_events",
124
- "type": "User",
125
- "site_admin": true
126
- },
127
- "created_at": "2022-05-19T00:52:15Z",
128
- "updated_at": "2022-05-19T00:52:15Z",
129
- "author_association": "COLLABORATOR",
130
- "body": "🚢 Shipped to the cloud: https://github.blog/changelog/2022-05-12-secret-scanning-dry-runs-for-enterprise-level-custom-patterns/",
131
- "reactions": {
132
- "url": "https://api.github.com/repos/github/roadmap/issues/comments/1130876857/reactions",
133
- "total_count": 0,
134
- "+1": 0,
135
- "-1": 0,
136
- "laugh": 0,
137
- "hooray": 0,
138
- "confused": 0,
139
- "heart": 0,
140
- "rocket": 0,
141
- "eyes": 0
142
- },
143
- "performed_via_github_app": null,
144
- "event": "commented",
145
- "actor": {
146
- "login": "octocat",
147
- "id": 94867353,
148
- "node_id": "U_kgDOBaePmQ",
149
- "avatar_url": "https://avatars.githubusercontent.com/u/94867353?v=4",
150
- "gravatar_id": "",
151
- "url": "https://api.github.com/users/octocat",
152
- "html_url": "https://github.com/octocat",
153
- "followers_url": "https://api.github.com/users/octocat/followers",
154
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
155
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
156
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
157
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
158
- "organizations_url": "https://api.github.com/users/octocat/orgs",
159
- "repos_url": "https://api.github.com/users/octocat/repos",
160
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
161
- "received_events_url": "https://api.github.com/users/octocat/received_events",
162
- "type": "User",
163
- "site_admin": true
164
- }
165
- }
166
- ]