Skip to content

Commit e201e76

Browse files
committed
Remove pull_request_url as it's the API url
1 parent d792551 commit e201e76

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tap_github/repository_streams.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1678,7 +1678,6 @@ def get_child_context(self, record: dict, context: Context | None) -> dict:
16781678
"org": context["org"] if context else None,
16791679
"repo": context["repo"] if context else None,
16801680
"repo_id": context["repo_id"] if context else None,
1681-
"pull_request_url": record["pull_request_url"] if context else None,
16821681
"comment_id": record["id"] if context else None,
16831682
"comment_url": record["html_url"] if context else None,
16841683
}
@@ -1697,7 +1696,6 @@ def post_process(self, row: dict, context: Context | None = None) -> dict:
16971696
row = super().post_process(row, context)
16981697

16991698
if context:
1700-
row["pull_request_url"] = context.get("pull_request_url")
17011699
row["comment_id"] = context.get("comment_id")
17021700
row["comment_url"] = context.get("comment_url")
17031701

@@ -1708,7 +1706,6 @@ def post_process(self, row: dict, context: Context | None = None) -> dict:
17081706
th.Property("org", th.StringType),
17091707
th.Property("repo", th.StringType),
17101708
th.Property("repo_id", th.IntegerType),
1711-
th.Property("pull_request_url", th.StringType),
17121709
th.Property("comment_id", th.IntegerType),
17131710
th.Property("comment_url", th.StringType),
17141711
# Reaction properties

0 commit comments

Comments
 (0)