Skip to content

Fix sub_stream to enable 'reviews'#47

Merged
KAllan357 merged 3 commits intosinger-io:masterfrom
ezcater:fix-substreams
Jan 11, 2019
Merged

Fix sub_stream to enable 'reviews'#47
KAllan357 merged 3 commits intosinger-io:masterfrom
ezcater:fix-substreams

Conversation

@kdetto
Copy link
Contributor

@kdetto kdetto commented Jan 9, 2019

Fixes the tap to enable the sync of 'reviews'. The sub_streams dictionary currently only returns 'review_comments'. This change allows for it to return both 'reviews' and 'review_comments' so it can properly iterate through both substreams.

…nly returns review_comments. This change allows for it to return both reviews and reviews_comments so it can properly iterate through both substreams.
@cmerrick
Copy link
Contributor

cmerrick commented Jan 9, 2019

Hi @kdetto, thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.

@cmerrick
Copy link
Contributor

cmerrick commented Jan 9, 2019

You did it @kdetto!

Thank you for signing the Singer Contribution License Agreement.

tap_github.py Outdated
singer.write_schema(sub_stream_id, sub_stream['schema'],
sub_stream['key_properties'])


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems unintentional - please remove.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the whitespace.

@kdetto
Copy link
Contributor Author

kdetto commented Jan 10, 2019

Is there anything else we need to do to get this merged? I had tested this locally and the tap returned 'reviews'. We have stakeholders asking for an ETA on this data being available, so anything I can communicate back to them would be great!

@KAllan357 KAllan357 merged commit f15b243 into singer-io:master Jan 11, 2019
@KAllan357
Copy link
Contributor

Released this in v1.3.4

AJWurts pushed a commit to villagelabsco/tap-github that referenced this pull request Oct 24, 2024
* Fixes the tap to sync reviews. The sub_streams dictionary currently only returns review_comments. This change allows for it to return both reviews and reviews_comments so it can properly iterate through both substreams.

* Removing print statement used in testin.

* Removes some whitespace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants