File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,23 @@ def _update_attributes(self, event):
57
57
#: Dictionary of links for the pull request
58
58
self .pull_request = event .get ('pull_request' , {})
59
59
60
+ #: Dictionary containing label details
61
+ self .label = event .get ('label' , {})
62
+
63
+ #: The integer ID of the event
64
+ self .id = event .get ('id' )
65
+
66
+ #: :class:`User <github3.users.User>` that is assigned
67
+ self .assignee = event .get ('assignee' )
68
+ if self .assignee :
69
+ self .assignee = User (self .assignee , self ._session )
70
+
71
+ #: Dictionary containing milestone details
72
+ self .milestone = event .get ('milestone' , {})
73
+
74
+ #: Dictionary containing to and from attributes
75
+ self .rename = event .get ('rename' , {})
76
+
60
77
self ._uniq = self .commit_id
61
78
62
79
def _repr (self ):
You can’t perform that action at this time.
0 commit comments