mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
Remove the notion of ImmediateCompletion
This commit is contained in:
@@ -6,7 +6,7 @@ from GithubObject import *
|
||||
import NamedUser
|
||||
|
||||
class GistComment( object ):
|
||||
def __init__( self, requester, attributes, completion ):
|
||||
def __init__( self, requester, attributes, completed ):
|
||||
self.__requester = requester
|
||||
self.__initAttributes()
|
||||
self.__useAttributes( attributes )
|
||||
@@ -82,4 +82,4 @@ class GistComment( object ):
|
||||
self.__url = attributes[ "url" ]
|
||||
if "user" in attributes and attributes[ "user" ] is not None: # pragma no branch
|
||||
assert isinstance( attributes[ "user" ], dict ), attributes[ "user" ]
|
||||
self.__user = NamedUser.NamedUser( self.__requester, attributes[ "user" ], completion = LazyCompletion )
|
||||
self.__user = NamedUser.NamedUser( self.__requester, attributes[ "user" ], completed = False )
|
||||
|
||||
Reference in New Issue
Block a user