mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Update Notification.py
This commit is contained in:
@@ -707,7 +707,7 @@ class AuthenticatedUser(github.GithubObject.CompletableGithubObject):
|
||||
None,
|
||||
None
|
||||
)
|
||||
return github.Notification.Notification(self._requester, data, completed=True)
|
||||
return github.Notification.Notification(self._requester, headers, data, completed=True)
|
||||
|
||||
def get_notifications(self, all=github.GithubObject.NotSet, participating=github.GithubObject.NotSet):
|
||||
"""
|
||||
|
||||
@@ -33,9 +33,6 @@ class Notification(github.GithubObject.CompletableGithubObject):
|
||||
"""
|
||||
This class represents Notifications. The reference can be found here http://developer.github.com/v3/activity/notifications/
|
||||
"""
|
||||
def __init__(self, requester, attributes, completed):
|
||||
# Adapte for __init__ change, remove later
|
||||
github.GithubObject.CompletableGithubObject.__init__(self, requester, {}, attributes, completed)
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
|
||||
Reference in New Issue
Block a user