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,435 +0,0 @@
1
- {
2
- "streams": [
3
- {
4
- "stream": {
5
- "name": "assignees",
6
- "json_schema": {},
7
- "supported_sync_modes": ["full_refresh"],
8
- "source_defined_primary_key": [["id"]]
9
- },
10
- "sync_mode": "full_refresh",
11
- "destination_sync_mode": "overwrite"
12
- },
13
- {
14
- "stream": {
15
- "name": "branches",
16
- "json_schema": {},
17
- "supported_sync_modes": ["full_refresh"],
18
- "source_defined_primary_key": [["repository"], ["name"]]
19
- },
20
- "sync_mode": "full_refresh",
21
- "destination_sync_mode": "overwrite"
22
- },
23
- {
24
- "stream": {
25
- "name": "collaborators",
26
- "json_schema": {},
27
- "supported_sync_modes": ["full_refresh"],
28
- "source_defined_primary_key": [["id"]]
29
- },
30
- "sync_mode": "full_refresh",
31
- "destination_sync_mode": "overwrite"
32
- },
33
- {
34
- "stream": {
35
- "name": "comments",
36
- "json_schema": {},
37
- "supported_sync_modes": ["full_refresh", "incremental"],
38
- "source_defined_cursor": true,
39
- "default_cursor_field": ["updated_at"],
40
- "source_defined_primary_key": [["id"]]
41
- },
42
- "sync_mode": "incremental",
43
- "destination_sync_mode": "append",
44
- "cursor_field": ["updated_at"]
45
- },
46
- {
47
- "stream": {
48
- "name": "commit_comment_reactions",
49
- "json_schema": {},
50
- "supported_sync_modes": ["full_refresh", "incremental"],
51
- "source_defined_primary_key": [["id"]]
52
- },
53
- "sync_mode": "incremental",
54
- "destination_sync_mode": "overwrite"
55
- },
56
- {
57
- "stream": {
58
- "name": "commit_comments",
59
- "json_schema": {},
60
- "supported_sync_modes": ["full_refresh", "incremental"],
61
- "source_defined_cursor": true,
62
- "default_cursor_field": ["updated_at"],
63
- "source_defined_primary_key": [["id"]]
64
- },
65
- "sync_mode": "incremental",
66
- "destination_sync_mode": "append",
67
- "cursor_field": ["updated_at"]
68
- },
69
- {
70
- "stream": {
71
- "name": "commits",
72
- "json_schema": {},
73
- "supported_sync_modes": ["full_refresh", "incremental"],
74
- "source_defined_cursor": true,
75
- "default_cursor_field": ["created_at"],
76
- "source_defined_primary_key": [["sha"]]
77
- },
78
- "sync_mode": "incremental",
79
- "destination_sync_mode": "append",
80
- "cursor_field": ["created_at"]
81
- },
82
- {
83
- "stream": {
84
- "name": "contributor_activity",
85
- "json_schema": {},
86
- "supported_sync_modes": ["full_refresh"],
87
- "source_defined_primary_key": [["id"]]
88
- },
89
- "sync_mode": "full_refresh",
90
- "destination_sync_mode": "overwrite"
91
- },
92
- {
93
- "stream": {
94
- "name": "deployments",
95
- "json_schema": {},
96
- "supported_sync_modes": ["full_refresh", "incremental"],
97
- "source_defined_cursor": true,
98
- "default_cursor_field": ["updated_at"],
99
- "source_defined_primary_key": [["id"]]
100
- },
101
- "sync_mode": "incremental",
102
- "destination_sync_mode": "append",
103
- "cursor_field": ["updated_at"]
104
- },
105
- {
106
- "stream": {
107
- "name": "events",
108
- "json_schema": {},
109
- "supported_sync_modes": ["full_refresh", "incremental"],
110
- "source_defined_cursor": true,
111
- "default_cursor_field": ["created_at"],
112
- "source_defined_primary_key": [["id"]]
113
- },
114
- "sync_mode": "incremental",
115
- "destination_sync_mode": "append",
116
- "cursor_field": ["created_at"]
117
- },
118
- {
119
- "stream": {
120
- "name": "issue_comment_reactions",
121
- "json_schema": {},
122
- "supported_sync_modes": ["full_refresh", "incremental"],
123
- "source_defined_primary_key": [["id"]]
124
- },
125
- "sync_mode": "incremental",
126
- "destination_sync_mode": "overwrite"
127
- },
128
- {
129
- "stream": {
130
- "name": "issue_events",
131
- "json_schema": {},
132
- "supported_sync_modes": ["full_refresh", "incremental"],
133
- "source_defined_cursor": true,
134
- "default_cursor_field": ["created_at"],
135
- "source_defined_primary_key": [["id"]]
136
- },
137
- "sync_mode": "incremental",
138
- "destination_sync_mode": "append",
139
- "cursor_field": ["created_at"]
140
- },
141
- {
142
- "stream": {
143
- "name": "issue_labels",
144
- "json_schema": {},
145
- "supported_sync_modes": ["full_refresh"],
146
- "source_defined_primary_key": [["id"]]
147
- },
148
- "sync_mode": "full_refresh",
149
- "destination_sync_mode": "overwrite"
150
- },
151
- {
152
- "stream": {
153
- "name": "issue_milestones",
154
- "json_schema": {},
155
- "supported_sync_modes": ["full_refresh", "incremental"],
156
- "source_defined_cursor": true,
157
- "default_cursor_field": ["updated_at"],
158
- "source_defined_primary_key": [["id"]]
159
- },
160
- "sync_mode": "incremental",
161
- "destination_sync_mode": "append",
162
- "cursor_field": ["updated_at"]
163
- },
164
- {
165
- "stream": {
166
- "name": "issue_reactions",
167
- "json_schema": {},
168
- "supported_sync_modes": ["full_refresh", "incremental"],
169
- "source_defined_primary_key": [["id"]]
170
- },
171
- "sync_mode": "incremental",
172
- "destination_sync_mode": "overwrite"
173
- },
174
- {
175
- "stream": {
176
- "name": "issues",
177
- "json_schema": {},
178
- "supported_sync_modes": ["full_refresh", "incremental"],
179
- "source_defined_cursor": true,
180
- "default_cursor_field": ["updated_at"],
181
- "source_defined_primary_key": [["id"]]
182
- },
183
- "sync_mode": "incremental",
184
- "destination_sync_mode": "append",
185
- "cursor_field": ["updated_at"]
186
- },
187
- {
188
- "stream": {
189
- "name": "organizations",
190
- "json_schema": {},
191
- "supported_sync_modes": ["full_refresh"],
192
- "source_defined_primary_key": [["id"]]
193
- },
194
- "sync_mode": "full_refresh",
195
- "destination_sync_mode": "overwrite"
196
- },
197
- {
198
- "stream": {
199
- "name": "project_cards",
200
- "json_schema": {},
201
- "supported_sync_modes": ["full_refresh", "incremental"],
202
- "source_defined_cursor": true,
203
- "default_cursor_field": ["updated_at"],
204
- "source_defined_primary_key": [["id"]]
205
- },
206
- "sync_mode": "incremental",
207
- "destination_sync_mode": "append",
208
- "cursor_field": ["updated_at"]
209
- },
210
- {
211
- "stream": {
212
- "name": "project_columns",
213
- "json_schema": {},
214
- "supported_sync_modes": ["full_refresh", "incremental"],
215
- "source_defined_cursor": true,
216
- "default_cursor_field": ["updated_at"],
217
- "source_defined_primary_key": [["id"]]
218
- },
219
- "sync_mode": "incremental",
220
- "destination_sync_mode": "append",
221
- "cursor_field": ["updated_at"]
222
- },
223
- {
224
- "stream": {
225
- "name": "projects",
226
- "json_schema": {},
227
- "supported_sync_modes": ["full_refresh", "incremental"],
228
- "source_defined_cursor": true,
229
- "default_cursor_field": ["updated_at"],
230
- "source_defined_primary_key": [["id"]]
231
- },
232
- "sync_mode": "incremental",
233
- "destination_sync_mode": "append",
234
- "cursor_field": ["updated_at"]
235
- },
236
- {
237
- "stream": {
238
- "name": "pull_request_comment_reactions",
239
- "json_schema": {},
240
- "supported_sync_modes": ["full_refresh", "incremental"],
241
- "source_defined_primary_key": [["id"]]
242
- },
243
- "sync_mode": "incremental",
244
- "destination_sync_mode": "overwrite"
245
- },
246
- {
247
- "stream": {
248
- "name": "pull_request_commits",
249
- "json_schema": {},
250
- "supported_sync_modes": ["full_refresh"],
251
- "source_defined_primary_key": [["sha"]]
252
- },
253
- "sync_mode": "full_refresh",
254
- "destination_sync_mode": "overwrite"
255
- },
256
- {
257
- "stream": {
258
- "name": "pull_request_stats",
259
- "json_schema": {},
260
- "supported_sync_modes": ["full_refresh", "incremental"],
261
- "source_defined_cursor": true,
262
- "default_cursor_field": ["updated_at"],
263
- "source_defined_primary_key": [["id"]]
264
- },
265
- "sync_mode": "incremental",
266
- "destination_sync_mode": "append",
267
- "cursor_field": ["updated_at"]
268
- },
269
- {
270
- "stream": {
271
- "name": "pull_requests",
272
- "json_schema": {},
273
- "supported_sync_modes": ["full_refresh", "incremental"],
274
- "source_defined_cursor": true,
275
- "default_cursor_field": ["updated_at"],
276
- "source_defined_primary_key": [["id"]]
277
- },
278
- "sync_mode": "incremental",
279
- "destination_sync_mode": "append",
280
- "cursor_field": ["updated_at"]
281
- },
282
- {
283
- "stream": {
284
- "name": "releases",
285
- "json_schema": {},
286
- "supported_sync_modes": ["full_refresh", "incremental"],
287
- "source_defined_cursor": true,
288
- "default_cursor_field": ["created_at"],
289
- "source_defined_primary_key": [["id"]]
290
- },
291
- "sync_mode": "incremental",
292
- "destination_sync_mode": "append",
293
- "cursor_field": ["created_at"]
294
- },
295
- {
296
- "stream": {
297
- "name": "repositories",
298
- "json_schema": {},
299
- "supported_sync_modes": ["full_refresh", "incremental"],
300
- "source_defined_primary_key": [["id"]]
301
- },
302
- "sync_mode": "incremental",
303
- "destination_sync_mode": "overwrite"
304
- },
305
- {
306
- "stream": {
307
- "name": "review_comments",
308
- "json_schema": {},
309
- "supported_sync_modes": ["full_refresh", "incremental"],
310
- "source_defined_cursor": true,
311
- "default_cursor_field": ["updated_at"],
312
- "source_defined_primary_key": [["id"]]
313
- },
314
- "sync_mode": "incremental",
315
- "destination_sync_mode": "append",
316
- "cursor_field": ["updated_at"]
317
- },
318
- {
319
- "stream": {
320
- "name": "reviews",
321
- "json_schema": {},
322
- "supported_sync_modes": ["full_refresh", "incremental"],
323
- "source_defined_cursor": true,
324
- "default_cursor_field": ["updated_at"],
325
- "source_defined_primary_key": [["id"]]
326
- },
327
- "sync_mode": "incremental",
328
- "destination_sync_mode": "append",
329
- "cursor_field": ["updated_at"]
330
- },
331
- {
332
- "stream": {
333
- "name": "stargazers",
334
- "json_schema": {},
335
- "supported_sync_modes": ["full_refresh", "incremental"],
336
- "source_defined_cursor": true,
337
- "default_cursor_field": ["starred_at"],
338
- "source_defined_primary_key": [["user_id"]]
339
- },
340
- "sync_mode": "incremental",
341
- "destination_sync_mode": "append",
342
- "cursor_field": ["starred_at"]
343
- },
344
- {
345
- "stream": {
346
- "name": "tags",
347
- "json_schema": {},
348
- "supported_sync_modes": ["full_refresh"],
349
- "source_defined_primary_key": [["repository"], ["name"]]
350
- },
351
- "sync_mode": "full_refresh",
352
- "destination_sync_mode": "overwrite"
353
- },
354
- {
355
- "stream": {
356
- "name": "teams",
357
- "json_schema": {},
358
- "supported_sync_modes": ["full_refresh"],
359
- "source_defined_primary_key": [["id"]]
360
- },
361
- "sync_mode": "full_refresh",
362
- "destination_sync_mode": "overwrite"
363
- },
364
- {
365
- "stream": {
366
- "name": "users",
367
- "json_schema": {},
368
- "supported_sync_modes": ["full_refresh"],
369
- "source_defined_primary_key": [["id"]]
370
- },
371
- "sync_mode": "full_refresh",
372
- "destination_sync_mode": "overwrite"
373
- },
374
- {
375
- "stream": {
376
- "name": "workflows",
377
- "json_schema": {},
378
- "supported_sync_modes": ["full_refresh", "incremental"],
379
- "source_defined_primary_key": [["id"]]
380
- },
381
- "sync_mode": "incremental",
382
- "destination_sync_mode": "overwrite"
383
- },
384
- {
385
- "stream": {
386
- "name": "workflow_runs",
387
- "json_schema": {},
388
- "supported_sync_modes": ["full_refresh", "incremental"],
389
- "source_defined_primary_key": [["id"]]
390
- },
391
- "sync_mode": "incremental",
392
- "destination_sync_mode": "overwrite"
393
- },
394
- {
395
- "stream": {
396
- "name": "workflow_jobs",
397
- "json_schema": {},
398
- "supported_sync_modes": ["full_refresh", "incremental"],
399
- "source_defined_primary_key": [["id"]]
400
- },
401
- "sync_mode": "incremental",
402
- "destination_sync_mode": "overwrite"
403
- },
404
- {
405
- "stream": {
406
- "name": "team_members",
407
- "json_schema": {},
408
- "supported_sync_modes": ["full_refresh"],
409
- "source_defined_primary_key": [["id"], ["team_slug"]]
410
- },
411
- "sync_mode": "full_refresh",
412
- "destination_sync_mode": "overwrite"
413
- },
414
- {
415
- "stream": {
416
- "name": "team_memberships",
417
- "json_schema": {},
418
- "supported_sync_modes": ["full_refresh"],
419
- "source_defined_primary_key": [["url"]]
420
- },
421
- "sync_mode": "full_refresh",
422
- "destination_sync_mode": "overwrite"
423
- },
424
- {
425
- "stream": {
426
- "name": "issue_timeline_events",
427
- "json_schema": {},
428
- "supported_sync_modes": ["full_refresh"],
429
- "source_defined_primary_key": [["repository"], ["issue_number"]]
430
- },
431
- "sync_mode": "full_refresh",
432
- "destination_sync_mode": "overwrite"
433
- }
434
- ]
435
- }