@@ -1673,6 +1673,30 @@ class ReviewCommentsStream(GitHubRestStream):
16731673 ).to_dict ()
16741674
16751675
1676+ class ReviewCommentReactionsStream (GitHubRestStream ):
1677+ name = "review_comment_reactions"
1678+ path = "/repos/{org}/{repo}/pulls/comments/{comment_id}/reactions"
1679+ primary_keys : ClassVar [list [str ]] = ["id" ]
1680+ replication_key = None
1681+ parent_stream_type = ReviewCommentsStream
1682+ ignore_parent_replication_key = True
1683+ state_partitioning_keys : ClassVar [list [str ]] = ["repo" , "org" ]
1684+
1685+ schema = th .PropertiesList (
1686+ # Parent keys
1687+ th .Property ("org" , th .StringType ),
1688+ th .Property ("repo" , th .StringType ),
1689+ th .Property ("repo_id" , th .IntegerType ),
1690+ th .Property ("comment_id" , th .IntegerType ),
1691+ # Reaction properties
1692+ th .Property ("id" , th .IntegerType ),
1693+ th .Property ("node_id" , th .StringType ),
1694+ th .Property ("user" , user_object ),
1695+ th .Property ("content" , th .StringType ),
1696+ th .Property ("created_at" , th .DateTimeType ),
1697+ ).to_dict ()
1698+
1699+
16761700class ContributorsStream (GitHubRestStream ):
16771701 """Defines 'Contributors' stream. Fetching User & Bot contributors."""
16781702
0 commit comments