mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
GithubObject.__complete
This commit is contained in:
@@ -103,8 +103,15 @@ class Event( object ):
|
||||
self.__complete()
|
||||
self.__completed = True
|
||||
|
||||
# @todo Do not generate __complete if type has no url attribute
|
||||
def __complete( self ):
|
||||
pass
|
||||
result = self.__github._dataRequest(
|
||||
"GET",
|
||||
self.url,
|
||||
None,
|
||||
None
|
||||
)
|
||||
self.__useAttributes( result )
|
||||
|
||||
def __useAttributes( self, attributes ):
|
||||
if "actor" in attributes:
|
||||
|
||||
Reference in New Issue
Block a user