8000 Add label to IssueEvent · DhritiShikhar/github3.py@0752af4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0752af4

Browse files
committed
Add label to IssueEvent
1 parent a410327 commit 0752af4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

github3/issues/event.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ def __init__(self, event, session=None):
5858
#: Dictionary of links for the pull request
5959
self.pull_request = event.get('pull_request', {})
6060

61+
#: Dictionary containing label details
62+
self.label = event.get('label', {})
63+
6164
self._uniq = self.commit_id
6265

6366
def __repr__(self):

0 commit comments

Comments
 (0)
0