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

Add issues and issue_comments streams #9

Merged
merged 4 commits into from
Sep 11, 2021
Merged
Changes from 1 commit
Commits
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
Prev Previous commit
Fix black style
laurentS committed Sep 11, 2021
commit c9fcc331fdedcb067cc311cb4df622fb163cac9f
2 changes: 1 addition & 1 deletion tap_github/streams.py
Original file line number Diff line number Diff line change
@@ -281,7 +281,7 @@ def get_url_params(
return params

def post_process(self, row: dict, context: Optional[dict] = None) -> dict:
row['issue_number'] = int(row["issue_url"].split('/')[-1])
row["issue_number"] = int(row["issue_url"].split("/")[-1])
return row

schema = th.PropertiesList(