Skip to content

Commit e5d71b8

Browse files
authored
Merge pull request #753 from ChenWanyu1207/feature_cwy_1
Feature cwy 1
2 parents 2f1217c + e04ea81 commit e5d71b8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

api/reactions/reactions.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from core.rest_client import RestClient
2+
3+
4+
class Reactions(RestClient):
5+
6+
def list_reactions_for_a_commit_comment(self, owner, repo, comment_id, **kwargs):
7+
"""
8+
https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment
9+
"""
10+
return self.get("/repos/{}/{}/comments/{}/reactions".format(owner, repo, comment_id), **kwargs)

0 commit comments

Comments
 (0)