Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix team parents ("parent" is an object) #134

Merged
merged 31 commits into from
May 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
7d90097
initialization graphql stargazers
ericboucher May 17, 2022
0440ec0
Fix stargazers query
ericboucher May 18, 2022
89bb766
simplify query
ericboucher May 18, 2022
348f303
Update repository_streams.py
ericboucher May 18, 2022
42310c8
Add early exit with fake "since"
ericboucher May 18, 2022
ed77f27
Add new stream and order alphabetically
ericboucher May 18, 2022
3977dee
Add missing user params
ericboucher May 18, 2022
eec8d3d
Test different path for api_calls_tests_cache
ericboucher May 18, 2022
3b8e9b3
Retry pytest once on error
ericboucher May 18, 2022
f46c2e1
Fix push target in github action
ericboucher May 18, 2022
6ee2765
Update test_tap.yml
ericboucher May 18, 2022
7d43ea6
Update test_tap.yml
ericboucher May 18, 2022
2b433c6
Update test_tap.yml
ericboucher May 18, 2022
8ad4f69
Update test_tap.yml
ericboucher May 18, 2022
5b5b64c
Use alternative_sync_chidren in tap_core
ericboucher May 18, 2022
9e0dd6d
Update test_tap.yml
ericboucher May 18, 2022
6c58936
Update test_tap.yml
ericboucher May 18, 2022
0bb3531
Update test_tap.yml
ericboucher May 18, 2022
b58691a
Update tap_github/tests/fixtures.py
ericboucher May 18, 2022
288dd81
Override REST stream
ericboucher May 19, 2022
dc52830
Update repository_streams.py
ericboucher May 19, 2022
79d1970
Update test_tap.yml
ericboucher May 19, 2022
62d3416
Removed gitingore in secrets + added vscode in ide
SBurwash May 19, 2022
5e13c0b
Chnaged parents structure teams
SBurwash May 19, 2022
443825b
Revert "Override REST stream"
ericboucher May 19, 2022
1c79c06
Keep both streams but add warning
ericboucher May 19, 2022
3def2b9
Added back gitignore in secrets
SBurwash May 19, 2022
90d5fca
Ran formating
SBurwash May 19, 2022
862e7ca
Update repository_streams.py
ericboucher May 19, 2022
38be6bf
Merge branch 'stargazers-graphql' into pr/132
ericboucher May 19, 2022
ac0f967
Merge branch 'main' into pr/132
ericboucher May 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ dmypy.json

# IDE
.idea/
.vscode/

# Pyre type checker
.pyre/
Expand Down
17 changes: 16 additions & 1 deletion tap_github/organization_streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,22 @@ def get_child_context(self, record: Dict, context: Optional[Dict]) -> dict:
th.Property("permission", th.StringType),
th.Property("members_url", th.StringType),
th.Property("repositories_url", th.StringType),
th.Property("parent", th.StringType),
th.Property(
"parent",
th.ObjectType(
th.Property("id", th.IntegerType),
th.Property("node_id", th.StringType),
th.Property("url", th.StringType),
th.Property("html_url", th.StringType),
th.Property("name", th.StringType),
th.Property("slug", th.StringType),
th.Property("description", th.StringType),
th.Property("privacy", th.StringType),
th.Property("permission", th.StringType),
th.Property("members_url", th.StringType),
th.Property("repositories_url", th.StringType),
),
),
).to_dict()


Expand Down