-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
🐛 Source Github: add new streams TeamMembers, TeamMemberships #11893
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
0cec5e8
TeamMembers added
grubberr 1cdda72
github.md updated
grubberr ba6b3eb
configured_catalog.json updated
grubberr f744781
TeamMemberships added
grubberr b22bae7
github.md updated
grubberr 49bed23
Merge branch 'master' into grubberr/11886-source-github
grubberr 865ac5f
primary_key added
grubberr e74e9c6
primary_key added (2)
grubberr 789b832
fix schemas/team_members.json
grubberr 77f72cf
bugfix slug -> team_slug
grubberr a474713
fix py code
grubberr 17dec03
improve team_memberships.json
grubberr f43c21b
test_stream_team_members_full_refresh added
grubberr d32ba95
test_stream_team_members_full_refresh added
grubberr f77468d
make README.md up to date
grubberr 9c49ac0
Merge branch 'master' into grubberr/11886-source-github
grubberr 8411b31
improve type annotation
grubberr a562cb9
Merge branch 'master' into grubberr/11886-source-github
grubberr 615be1a
github.md updated
grubberr 6963902
revert for auto-bump
grubberr c8e0e5b
fix release date
grubberr 036f9db
auto-bump connector version
octavia-squidington-iii File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
airbyte-integrations/connectors/source-github/source_github/schemas/team_members.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"properties": { | ||
"login": { | ||
"type": ["null", "string"] | ||
}, | ||
"id": { | ||
"type": "integer" | ||
}, | ||
"node_id": { | ||
"type": ["null", "string"] | ||
}, | ||
"avatar_url": { | ||
"type": ["null", "string"] | ||
}, | ||
"gravatar_id": { | ||
"type": ["null", "string"] | ||
}, | ||
"url": { | ||
"type": ["null", "string"] | ||
}, | ||
"html_url": { | ||
"type": ["null", "string"] | ||
}, | ||
"followers_url": { | ||
"type": ["null", "string"] | ||
}, | ||
"following_url": { | ||
"type": ["null", "string"] | ||
}, | ||
"gists_url": { | ||
"type": ["null", "string"] | ||
}, | ||
"starred_url": { | ||
"type": ["null", "string"] | ||
}, | ||
"subscriptions_url": { | ||
"type": ["null", "string"] | ||
}, | ||
"organizations_url": { | ||
"type": ["null", "string"] | ||
}, | ||
"repos_url": { | ||
"type": ["null", "string"] | ||
}, | ||
"events_url": { | ||
"type": ["null", "string"] | ||
}, | ||
"received_events_url": { | ||
"type": ["null", "string"] | ||
}, | ||
"type": { | ||
"type": ["null", "string"] | ||
}, | ||
"site_admin": { | ||
"type": ["null", "boolean"] | ||
}, | ||
"organization": { | ||
"type": "string" | ||
}, | ||
"team_slug": { | ||
"type": "string" | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
airbyte-integrations/connectors/source-github/source_github/schemas/team_memberships.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"properties": { | ||
"state": { | ||
"type": ["null", "string"] | ||
}, | ||
"role": { | ||
"type": ["null", "string"] | ||
}, | ||
"url": { | ||
"type": "string" | ||
}, | ||
"organization": { | ||
"type": "string" | ||
}, | ||
"team_slug": { | ||
"type": "string" | ||
}, | ||
"username": { | ||
"type": "string" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as for me, I would better declare parent class directly in this class. like it is done in another streams with 'parent_entity'
Passing 'parent' class as an argument assumes that parent can be different. But here we should preciscly define that we need only Teams stream.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes I thought about it
but because there are more then one level of nesting of classes:
I decided just to keep this approach
some old classed also use this approach
I changed type annotation to be more specific
8411b31